1. Notables in the transition from Fortran 77 to Fortran 90

Exercises

(1.1) Compile and run some of your own small programs with Fortran 90 using fixed form. Get some instructions in Appendix 6.
Comments.

(1.2) Modify the program you have just compiled by replacing comments starting with C or * with comments starting with ! and try to use Fortran 90 free form.
Comments.

(1.3) What happens if the following small program is run using fixed form or using free form?

      LOGICAL L
      L = .FALSE.
      IF (L) THEN Z = 1.0
      ELSE Y = Z ENDIF
      END

Comments.


  Go to Index                   Go to Chapter 2