WHILE/ENDWHILE

Executes statements while the condition specified remains true.

WHILE(LeftExpression // Operator // RightExpression)
[statements]
ENDWHILE()

PARAMETERS

Left Expression

The left hand side of an expression (ie.  In the expression FIELD1 <> FIELD2,  FIELD1 is the LeftExpression 

Operator

The operator of an expression (ie.  In the expression FIELD1 <> FIELD2,  <>  is the operator.

=  Equality
< Less than
> Greather than
<= Less than or equal to
>= Greater than or equal to
<> Not equal

Right Expression

The right hand side of an expression (ie.  In the expression FIELD1 <> FIELD2,  FIELD2 is the RightExpression

Example:

WHILE(~FIELD1~//=//~FIELD2~)
[statements]
ENDWHILE()