Specifications

App - 8
Caution
Though the first syntax can describe several statements for one condition, it is necessar
y
to describe it in one line dividing with a colon as shown below.
If A>10 Then A=A+1:B=B+A:C=C+B
When If (second syntax) in block form is executed, the argument condition is firstl
y
evaluated. When the argument condition is True, the statement following Then is
evaluated.
When the argument condition is False, the condition (condition-n) designated with Elsel
f
is evaluated instead.
When either condition is True, the statement following the corresponding Then is
executed.
When both conditional experssions designated with Elself are False (or no Elself clause
exists), the statement following Else is executed.
When the statement following Then or Else completes, the execution of the program
continues from the next statement of End If.
Both the Else clause and the ElseIf clause are defined as necessary.
In addition, the number of the ElseIf clause to be designated is not limited for If in bloc
k
form.
However, the ElseIf clause cannot be designated after the Else clause.
For If in block form, a nested structure can be made .