SE condição

Da wiki ArcoWiki
Revisão em 09h14min de 7 de junho de 2018 por Slia (Discussão | contribs) (Criou a página com "The '''IF condition''' direct the program based on the conditional execution of a logical expression. <code><span style="color: green; text-decoration: non...")
(dif) ← Revisão anterior | Revisão atual (dif) | Revisão seguinte → (dif)
Ir para: navegação, pesquisa

The IF condition direct the program based on the conditional execution of a logical expression.

$$ Example of IF declaration

TEXT/QUERY,(number),50,N,L,'Type a positive or negative number'
IF/(number.GT.0)
TEXT/OPER,'You wrote a positive Number'
ELSE
TEXT/OPER,'You wrote a negative Number'
ENDIF