[Info-vax] Text processing examples with Fortran requested
Arne Vajhøj
arne at vajhoej.dk
Mon Nov 16 21:18:54 EST 2009
Richard B. Gilbert wrote:
> Arne Vajhøj wrote:
>> Richard B. Gilbert wrote:
>>> Arne Vajhøj wrote:
>>>> glen herrmannsfeldt wrote:
>>>>> 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.
>>>>
>>>> One - not two or four??
>>>
>>> If you use two or more, you are faced with the problem of "packing"
>>> and "unpacking" the data.
>>
>> A problem but a solveable problem.
>>
>>> I don't believe that either Fortran II or Fortran
>>> 66 supported a character data type. "Hollerith literals" were the
>>> best you could do and I don't think they could be used outside of
>>> FORMAT statements. My copy of "Guide to Fortran Programming" has
>>> vanished in the mists of time along with the later edition, "A Guide
>>> to Fortran IV" programming. Fortran IV did support a character data
>>> type.
>>
>> Standard it did not.
>
> Sometimes the standards people needed some time to catch up with
> reality. VAX Fortran was Fortran IV and my recollection is that it did
> support a character data type.
VAX Fortran was Fortran 77 since relative early in the history of VAX!
I know that it was in 1986.
Arne
More information about the Info-vax
mailing list