Next: IF ... THEN ....
Up: Control Constructs
Previous: Visualisation of the IF
Consider the IF ... THEN ... ELSE construct
IF (I > 17) THEN
Print*, "I > 17"
ELSE
Print*, "I <= 17"
END IF
this maps onto the following control flow structure,
Next: IF ... THEN ....
Up: Control Constructs
Previous: Visualisation of the IF
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.