A Bug By Any Other Name ...

Dave Angel davea at ieee.org
Tue Jul 7 09:38:37 EDT 2009


Duncan Booth wrote:
> Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>
>   
>> for, if, and return were common keywords in FORTRAN.
>>     
>
> Really? What does 'for' do in FORTRAN?
>
> P.S. Does FORTRAN actually have keywords these days? Back when I learned it 
> there was no such thing as a reserved word though for all I know they may 
> have since added them.
>
>   
The way I remember it (last used Fortran in 1970), DO was the looping 
construct, not FOR.  Naturally it was uppercase, as keypunches of the 
time didn't have an easy way to do lowercase.  (It was possible, you 
just had to use multi-punch, and a good memory for the appropriate 
0-12-11 prefixes).





More information about the Python-list mailing list