next up previous contents
Next: IF ... THEN .... Up: Control Constructs Previous: Visualisation of the IF

 

Visualisation of the IF ... THEN ... ELSE Construct

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,

tex2html_wrap26409


next up previous contents
Next: IF ... THEN .... Up: Control Constructs Previous: Visualisation of the IF

©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997
Not for commercial use.