IF

Function:

The IF command controls the conditional execution of the following statement block. If the condition is false the statement block is skipped. The condition may be composed of one logical expression of relational operators ==, !=, >, <, >=, <= or many expressions connected by the relational operators & and \\ . Dot relationals may also be used.

Syntax:

IF(condition)
	statement-block

Examples:

IF(A>B) AMAX=A

IF(I<=J+5)
$(
FOR(;I>5;I=I+1) A(I)=Z
J=I
$)