Futurebasic/Language/Reference/long if

Syntax
LONG IF expr  [statementBlock1] [XELSE[statementBlock2]] END IF

Description
The  statement marks the beginning of an "if-block," which must be terminated with the   statement. The  can be either a logical expression (such as:  ), a numeric expression, or a string. A numeric expression is counted as "true" if it evaluates to a nonzero value. A string is counted as "true" if its length is greater than zero.

If  is "true," then only the statements in   are executed, and execution then continues at the first statement after. if  is "false," then only the statements in   (if any) are executed, and execution then continues at the first statement after.

and  may contain any number of executable statements, and may even include other "nested" if-blocks.