Return (errors, multi-items, etc.)

Felix Lee flee at shire.cs.psu.edu
Sat Aug 12 17:42:47 AEST 1989


In <2987 at cuuxb.ATT.COM>,
   mmengel at cuuxb.ATT.COM (Marc W. Mengel) asks:
> Is
>	{a,b,c} = f(x,y);
> really that much prettier than
>	f(x,y, &a,&b,&c);

Yes.  Much in the same way people write
	a = f(x);
rather than
	f(x, &a);
or
	call _f,1
	ld [%fp-0x8],%o0
	st %o0,[%fp-0x4]

You should say what you mean, not just mean what you say.

[Followups to comp.lang.misc.]
--
Felix Lee	flee at shire.cs.psu.edu	*!psuvax1!flee



More information about the Comp.std.c mailing list