[Info-vax] Text processing examples with Fortran requested

glen herrmannsfeldt gah at ugcs.caltech.edu
Sun Nov 15 19:19:55 EST 2009


Michael Kraemer <M.Kraemer at gsi.de> wrote:
> Arne Vajh?j schrieb:
 
>> And besides Fortran 77 is not that bad. CHARACTER is fine. Fortran 66
>> would be painful.
 
> F77 can be almost as painful for text stuff because
> IIRC the standard does not provide for dynamically allocated
> character strings.

F77 doesn't provide for anything dynamically allocated.  The form
of expressions allowed for the CHARACTER data type is carefully
designed to avoid the requirement of temporaries of unknown (at
compile time) size.

Even so, a lot was done in Fortran 66 because that was what
was available.  Storing one character per INTEGER array element
was inefficient but usually worked.  

-- glen



More information about the Info-vax mailing list