next up previous
Next: IF Statement Up: HPF Course Notes Previous: Control Flow

 

Control Flow

 

All structured programming languages need constructs which provide a facility for conditional execution. The simplest method of achieving this functionality is by using a combination of IF and GOTO which is exactly what FORTRAN 66 supported. Fortran has progressed since then and now includes a comprehensive basket of useful control constructs. Fortran 90 supports:

and less importantly,




next up previous
Next: IF Statement Up: HPF Course Notes Previous: Control Flow

Adam Marshall ©University of Liverpool, 1996
Wed Oct 9 17:57:29 BST 1996