0 or
1..true. If you specify an ELSE, the
instruction after ELSE is processed only if the result of the evaluation is
.false.if answer="YES" then say "OK!"; else say "Why not?"
If answer = "YES" Then
If name = "FRED" Then
say "OK, Fred."
Else
nop
Else
say "Why not?"
0 or 1.
Evaluation will stop with
the first 0 result and 0
will be returned as the condition result. If all of the subexpressions evaluate
to 1, then the condition result is also
1.
If answer~datatype('w'), answer//2 = 0 Then
say answer "is even"
Else
say answer "is odd"
If answer~datatype('w') & answer//2 = 0 Then
say answer "is even"
Else
say answer "is odd"
.false result, so the
"answer//2" term will not be evaluated if the datatype test returns 0.