YAAO (yet another assignment operator)

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Wed Dec 26 15:18:13 AEST 1984


> 		X <binop>= Y;		(call this form 1)
> is exactly the same statement as
> 		X = X <binop> Y;	(call this form 2)

Not quite.  Another part of the semantics is that "X" is evaluated
ONLY ONCE.  So a na"ive translation of form 1 to form 2 won't work.



More information about the Comp.lang.c mailing list