[Cst-1b] Comp.Prog.Lang - ALGOL - Trouble Spots 2
Martin Harper
mcnh2@cam.ac.uk
Wed, 10 May 2000 21:22:38 +0100
On page 16 of comp.prog.lang(5.8), one of the trouble spots of ALGOL is claimed
to be -
"The types and modes of calling procedure arguments could not be specified."
however, looking at the code fragments, it seems that you can - for example,
over the page there is a "transpose" procedure, which runs as -
real procedure transpose(A, m)
value m;
real array A; integer m;
begin
...
end
this clearly implies to me that the mode of calling is that m is by val, A by
name, and that m is an integer, while A is a real array.... what have I
forgotten/misunderstood? :(
Martin.