(Call-by-reference)
Hal Perkins
hal at cornell.UUCP
Thu Apr 25 04:32:32 AEST 1985
> Fortran-77 The language assumes call-by-reference...
Not so. The standard is worded to allow either call by reference
or call by value-result, at least for scalars. Most implementers
use call by reference, but at least a few (like IBM for the 360/370)
use value-result, as anyone who's ever had to convert a program
that depends (usually subtly) on a particular implementation can
tell you.
Further discussion should be confined to language lawyers who really
know the standard, and should be sent to /dev/null since this has
been beaten to death already.
Hal
More information about the Comp.lang.c
mailing list