[comp.lang.c] No swap needed.....

wozniak@utkux1.utk.edu (Bryon Lape) (06/28/90)

	I finally came to the realization that C needs a concurrent
assignemnt statement.  The syntax would be like the following:

	x,y,z = 1,2,3;

	which would make x=1, y=2, and z=3.  This would also be used to
swap values, such as:
	
	x,y = y,x;

	This would be equivalent to the following:
	  z = x;
	  x = y;
	  y = z;


-bryon lape-

gwyn@smoke.BRL.MIL (Doug Gwyn) (06/28/90)

In article <1990Jun28.143410.6171@cs.utk.edu> wozniak@utkux1.utk.edu (Bryon Lape) writes:
>	I finally came to the realization that C needs a concurrent
>assignemnt statement.

Don't post drivel like this to comp.std.c, please.