next up previous contents
Next: More on DO Loops Up: More on Flow Control Previous: Named IF and DO   Contents

The IF Statement

Is a shorter form of an IF block, when neither the ELSEIFs nor the ELSE branches are present. Syntax:

if ($\langle$logical_expression$\rangle$) statement

If the ession is .TRUE. then the (single) is executed; if .FALSE., then control is just passed further. Note that the single is usually a very powerfull instruction, like EXIT or GOTO.

Adrian Sandu 2001-08-26