Concurrent assingment (Was No swap needed.....)

Bryon Lape wozniak at utkux1.utk.edu
Fri Jun 29 06:00:11 AEST 1990


	Wrong!!  This is an error!!  x would be 1, but y and z would be
unknown.
>	x, y = (x, y = y, x), (x, y = y, x);

	True this is complicated, but not impossible.  Believe it or
not, the concurrent assignment is PDL (expect = is :=) that translates
into PL/I!


-bryon lape-



More information about the Comp.std.c mailing list