[Info-vax] Text processing examples with Fortran requested

Rob Brown mylastname at gmcl.com
Tue Nov 17 13:25:45 EST 2009


On Tue, 17 Nov 2009 at 17:21 -0000, glen herrmannsfeldt wrote:

> One Fortran feature that I never used was the ability to read into
> the H format descriptor:
>
>      READ(5,1)
>      WRITE(6,1)
> 1     FORMAT(30Hthis text will be overwritten!)

Strangest one I ever saw (about 1975 or so) was something like:

       DOUBLE X /some long number/
       EXTERNAL X
       I=X()
       STOP
       END

WATFIV and FORTRAN G would fail to compile.  FORTRAN H would compile. 
When you ran the program, it printed the time of day.




More information about the Info-vax mailing list