On Wed, 21 Feb 2018, Nemo wrote:
Hhmmm... I recall using DEC's C compiler, which
we called VAX C. Calling
C stuff from VAX FORTRAN required jiggery-pokery and the other way was
hopeless. I recall (assuming no wetware bit-rot on my part) that DEC's
languages did not pass on the stack but stuffed the arguments somewhere,
passing a pointer to the somewhere.
Would that have anything to do with F*RTR*N being call by value-result?
I.e. if you modified a formal parameter, and that corresponding actual
parameter was a constant (and only stored once), then...
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will
suffer."