Dennis Lee Bieber <[EMAIL PROTECTED]> writes:
> Or the infamous, and maybe urban legend, of the early FORTRAN
> compiler in which literal constants weren't...
>
> call inc(1)
> write(6, 100) 1
> 100 format("I5")
> ....
>
> subroutine inc(i)
> i = i + 1
> return
>
> ... would print " 2"
It's not an urban legend. I used to sit in a booth and answer student
programmers questions at a university, and saw this bug more than once
from people learning FORTRAN on an IBM 370.
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
--
http://mail.python.org/mailman/listinfo/python-list