[Info-vax] Text processing examples with Fortran requested
Arne Vajhøj
arne at vajhoej.dk
Mon Nov 16 18:59:24 EST 2009
glen herrmannsfeldt wrote:
> Arne Vajh?j <arne at vajhoej.dk> 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 want to move around individual characters, as most text
> processing does, then one.
Individual characters can be picked out of integers.
> If you just need to read them in
> and write them back out, then two or four (or more).
> (CDC stored 10 six bit characters in a 60 bit word.)
I have done quite a bit of picking display characters
out of words in Compass. 25 years ago.
Arne
More information about the Info-vax
mailing list