Previous Topic: Goto CommandNext Topic: Break and Pause Commands


IF, THEN Statement

This statement tests a conditional expression. If the expression is true, the THEN portion is processed.

The syntax is:

IF expression THEN indirect command
expression

Specifies any valid condition.

indirect command

Specifies any valid indirect command.

Example

IF (A+B)*C=D
  THEN GOTO *1150