{"id":1347,"date":"2019-03-25T17:34:42","date_gmt":"2019-03-25T20:34:42","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/"},"modified":"2020-02-20T14:48:04","modified_gmt":"2020-02-20T17:48:04","slug":"nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/","title":{"rendered":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 &#8211; Comandos de Decis\u00e3o."},"content":{"rendered":"<p><span style=\"font-weight: bold; color: #990099; font-size: large;\">Comando If&#8230;Else&#8230;ElseIf&#8230;End If\u00a0 <\/span><\/p>\n<p>Permite a tomada de decis\u00f5es durante a execu\u00e7\u00e3o de um script. A sintaxe \u00e9 a seguinte:<\/p>\n<pre><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">If condi\u00e7\u00e3o Then<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">c\u00f3digo que ser\u00e1 executado se a condi\u00e7\u00e3o for verdadeira.<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Else<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">c\u00f3digo que ser\u00e1 executado se a condi\u00e7\u00e3o N\u00c3O for verdadeira<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End if<\/span><\/pre>\n<p>Exemplos:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">If Motor=0 Then<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motor desligado\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Else<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motor Ligado\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End if<\/span><\/pre>\n<p>Mais de uma condi\u00e7\u00e3o pode ser verificada em um mesmo comando:<\/p>\n<p><span style=\"background-color: #cccccc; font-family: Courier New;\">If <condi\u00e7\u00e3o1> Then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 c\u00f3digo que ser\u00e1 executado se a condi\u00e7\u00e3o1 for verdadeira.<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Elseif <condi\u00e7\u00e3o2> Then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 c\u00f3digo que ser\u00e1 executado se a condi\u00e7\u00e3o2 for verdadeira.<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Elseif <condi\u00e7\u00e3o3> Then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 c\u00f3digo que ser\u00e1 executado se a condi\u00e7\u00e3o3 for verdadeira.<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Else<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 c\u00f3digo que ser\u00e1 executado se nenhuma das condi\u00e7\u00f5es for verdadeira<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">End if<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/>Exemplos:<\/p>\n<pre><span style=\"background-color: #cccccc; font-family: Courier New;\">If Motores=0 then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 Texto=\"Motores desligados\"<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Elseif Motores=1 then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 Texto=\"Motor 1 ligado\"<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Elseif Motores=2 then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 Texto=\"Motor 2 ligado\"<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Elseif Motores=3 then<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 Texto=\"Motores 1 e 2 ligados\"<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">Else<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">\u00a0\u00a0\u00a0 Texto=\"Erro de Status. Verifique os motores\"<\/span><br style=\"background-color: #cccccc; font-family: Courier New;\" \/><span style=\"background-color: #cccccc; font-family: Courier New;\">End if<\/span><\/pre>\n<p><span style=\"color: #3366ff; font-size: large;\"><span style=\"font-weight: bold; font-style: italic;\">Exerc\u00edcios:<\/span><\/span><\/p>\n<p>1. Escreva o c\u00f3digo para as seguintes caixas de di\u00e1logo e mostre em uma segunda mensagem a resposta do usu\u00e1rio (Sim ou N\u00e3o) e (Repetir ou Cancelar):<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2097\/fig_009.bmp\" alt=\"\" width=\"235\" height=\"120\" align=\"bottom\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\">Figura 9<\/span><\/div>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2097\/fig_010.bmp\" alt=\"\" width=\"205\" height=\"123\" align=\"bottom\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\">Figura 10<\/span><\/div>\n<p>2. Crie um setpoint onde s\u00f3 seja poss\u00edvel digitar valores.<br \/>\n3. Ao mudar o valor do setpoint, altere a cor de um ret\u00e2ngulo por script, conforme a tabela abaixo. Para qualquer valor fora da tabela o ret\u00e2ngulo dever\u00e1 ser preto.<\/p>\n<table border=\"1\" width=\"40%\" cellspacing=\"2\" cellpadding=\"2\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"text-align: center; background-color: #cccccc;\">\u00a0M\u00ednimo<\/td>\n<td style=\"text-align: center; background-color: #cccccc;\">\u00a0M\u00e1ximo<\/td>\n<td style=\"text-align: center; background-color: #cccccc;\">\u00a0Cor<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u00a00<\/td>\n<td style=\"text-align: center;\">\u00a010<\/td>\n<td style=\"text-align: center;\">\u00a0Azul<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u00a010<\/td>\n<td style=\"text-align: center;\">\u00a050<\/td>\n<td style=\"text-align: center;\">\u00a0Verde<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u00a050<\/td>\n<td style=\"text-align: center;\">\u00a070<\/td>\n<td style=\"text-align: center;\">\u00a0Amarelo<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u00a070<\/td>\n<td style=\"text-align: center;\">\u00a0100<\/td>\n<td style=\"text-align: center;\">\u00a0Vermelho<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: large;\"><br style=\"color: #990099; font-weight: bold;\" \/><span style=\"color: #990099; font-weight: bold;\">Comando Select Case<\/span><\/span><\/p>\n<p>Executa um dos v\u00e1rios grupos de instru\u00e7\u00f5es. A sintaxe \u00e9:<\/p>\n<pre>Select Case < express\u00e3o >\r\n\u00a0\u00a0\u00a0 Case < Valor1 >\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 < bloco de instru\u00e7\u00f5es >\r\n\u00a0\u00a0\u00a0 Case < Valor2 >\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 < bloco de instru\u00e7\u00f5es >\r\nEnd Select<\/pre>\n<p>Exemplos:<\/p>\n<pre><span style=\"font-family: Courier New; background-color: #cccccc;\">Select Case Motores<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Case 0<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motores desligados\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Case 1<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motor 1 ligado\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Case 2<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motor 2 ligado\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Case 3<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Motores 1 e 2 ligados\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">Case else<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">\u00a0\u00a0\u00a0 Texto=\"Erro de Status. Verifique os motores\"<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"font-family: Courier New; background-color: #cccccc;\">End select<\/span><br style=\"font-family: Courier New; background-color: #cccccc;\" \/><span style=\"color: #3366ff; font-size: large;\"><span style=\"font-weight: bold; font-style: italic;\">Exerc\u00edcios:<\/span><\/span><\/pre>\n<p>4. Insira duas Telas na sua aplica\u00e7\u00e3o.<br \/>\n5. Crie um menu com o nome de todas as telas usando o m\u00e9todo SelectMenu do Viewer.<br \/>\n6. Ao clicar sobre o nome da tela no menu, abra a tela selecionada.<\/p>\n<h3>Anexos:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/Licao3.zip\">Licao3.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comando If&#8230;Else&#8230;ElseIf&#8230;End If\u00a0 Permite a tomada de decis\u00f5es durante a execu\u00e7\u00e3o de um script. A sintaxe \u00e9 a seguinte:If condi\u00e7\u00e3o Thenc\u00f3digo que ser\u00e1 executado&#8230;<br \/>\nAutor<br \/>\nPaula Pereira En\u00e9as<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[578,610],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.[:] - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.\" \/>\n<meta property=\"og:description\" content=\"Comando If...Else...ElseIf...End If\u00a0 Permite a tomada de decis\u00f5es durante a execu\u00e7\u00e3o de um script. A sintaxe \u00e9 a seguinte:If condi\u00e7\u00e3o Thenc\u00f3digo que ser\u00e1 executado... Autor Paula Pereira En\u00e9as\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:34:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-20T17:48:04+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2097\/fig_009.bmp\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 &#8211; Comandos de Decis\u00e3o.\",\"datePublished\":\"2019-03-25T20:34:42+00:00\",\"dateModified\":\"2020-02-20T17:48:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\"},\"wordCount\":257,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Elipse E3\",\"Scripts\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\",\"url\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\",\"name\":\"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:34:42+00:00\",\"dateModified\":\"2020-02-20T17:48:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 &#8211; Comandos de Decis\u00e3o.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.[:] - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.[:] - Elipse Knowledgebase","og_description":"[:pt]Comando If...Else...ElseIf...End If\u00a0 Permite a tomada de decis\u00f5es durante a execu\u00e7\u00e3o de um script. A sintaxe \u00e9 a seguinte:If condi\u00e7\u00e3o Thenc\u00f3digo que ser\u00e1 executado... Autor Paula Pereira En\u00e9as[:]","og_url":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:34:42+00:00","article_modified_time":"2020-02-20T17:48:04+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2097\/fig_009.bmp"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 &#8211; Comandos de Decis\u00e3o.","datePublished":"2019-03-25T20:34:42+00:00","dateModified":"2020-02-20T17:48:04+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/"},"wordCount":257,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Elipse E3","Scripts"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/","url":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/","name":"[:pt]No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 - Comandos de Decis\u00e3o.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:34:42+00:00","dateModified":"2020-02-20T17:48:04+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/nocoes-de-vbscript-no-software-elipse-e3-licao-3-comandos-de-decisao\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"No\u00e7\u00f5es de VBScript no Software Elipse E3: Li\u00e7\u00e3o 3 &#8211; Comandos de Decis\u00e3o."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1347"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=1347"}],"version-history":[{"count":5,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1347\/revisions"}],"predecessor-version":[{"id":10236,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/1347\/revisions\/10236"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=1347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=1347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}