This is an old revision of the document!
FORTRAN-20 is a FORTRAN compiler for TOPS-20. It supports the FORTRAN-77 standard (ANSI X3.9-1978 American National Standard Programming Language FORTRAN) with extensions and additions.
The purpose of this tutorial
A sample program for the FORTRAN-20 compiler.
c2345+---^---------^---------^---------^---------^---------^---------^--........ program hello ! The above line is a comment. ! Text from exclamation pt. to ! end of line is a comment. write(5,*) ' Hello, World!' ! 5 is the user TTY logical unit. ! Space before Hello is significant! stop ! The compiler ignores blank lines. end
The same program without annotation:
program hello write(5,*) ' Hello, World!' stop end