Condición IF

De ArcoWiki
Revisión del 09:14 7 jun 2018 de Slia (discusión | contribuciones) (Página creada con «The '''IF condition''' direct the program based on the conditional execution of a logical expression. <code><span style="color: green; text-decoration: no...»)
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Saltar a: navegación, buscar

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