Pascal question

Chris Torek chris at umcp-cs.UUCP
Thu Apr 25 11:24:17 AEST 1985


Actually, call-by-name is a very interesting method of parameter passing.
How else can you get

	proc foo (i, j : integer);
	begin i := 10; bar (j) end;

	...
		foo (x, a[x]);

to work when you haven't initialized x yet?  :-)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.lang.c mailing list