next up previous contents index
Next: ASSIGN and assigned GO Up: Obsolete and Deprecated Features Previous: Storage of Character Strings

Arithmetic IF Statement


This is an executable statement with the form:

IF( arithmetic-expression ) label1, label2, label3

It generally provides a three-way branch (but two of the labels may be identical for a two-way branch). The expression may be an integer, real, or double-precision value: control is transferred to the statement attached to label1 if its value is negative, label2 if zero, or label3, if positive.

Helen Rowlands