TEST

This statement will execute a number of statements depending on the value of an expression.

TEST(LeftExpression // Operator // RightExpression)
 
ENDTEST()

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

Assuming that you have two Textboxes on your form, one with a TAG value of FIELD1 and another with a TAG value of FIELD2, you could perform the following operation:

TEST(~FIELD1~//=//~FIELD2~)
[statements]
ELSE()
[statements]
ENDTEST()