Документ взят из кэша поисковой машины. Адрес оригинального документа : http://star.arm.ac.uk/f77to90/c1.html
Дата изменения: Wed Apr 17 20:02:52 1996
Дата индексирования: Mon Oct 1 20:57:45 2012
Кодировка:

Поисковые слова: hydrogen
Notables in the transition from Fortran 77 to Fortran 90

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, NAG's Fortran 90.
Comments.

(1.2) Modify the program you have just compiled with exchanging comments starting with C or * for 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.


Last modified: 17 April 1996
boein@nsc.liu.se