! ! =====> Program - P45.F90 ! ! PRINT *, 'This is Program >> P45 - Spacing for a printer' ! ! Carriage Control character ! is the FIRST one in the FORMAT ! Not all compilers respect these when running from a screen PRINT 200 200 FORMAT('1EXAMPLES') ! On top of a new page/screen N = 14 M = -27 PRINT 15, N, M 15 FORMAT(' ',2I5) ! Blank for single spacing PRINT 16, N, M 16 FORMAT('0', 2I5) ! Zero for double spacing STOP END OUTPUT: Program entered This is Program >> P45 - Spacing for a printer 1EXAMPLES 14 -27 0 14 -27 Fortran-90 STOP
Page builder: Charles Boivin
Last modified: 11/07/95