Constant and pass-by-reference

Arjen Markus arjen.markus895@gmail.com
Wed Jun 19 06:38:00 GMT 2019


Op di 18 jun. 2019 om 23:32 schreef Tobias Burnus <burnus@net-b.de>:
>
>
> PS: I head that in the old days, such a program didn't crash but did
> modify the value of the constant. That would even work for:
> "call crash(5)" - after which "5" had the value 4. But that ways decades
> before my first encounter with Fortran.
>

Things have changed a lot since these very old days - I do remember
having to work around that particular problem on an IBM machine. To
illustrate how much things have changed: nowadays the IEEE rules for
floating-point numbers are (almost) universal, but their development
has taken a lot of time and effort. We now take that for granted, as
we do many other things, but these things did not appear
automatically.

Regards,

Arjen



More information about the Fortran mailing list