Xref: utzoo comp.lang.c:29953 comp.std.c:3320 Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!emory!utkcs2!wozniak From: wozniak@utkux1.utk.edu (Bryon Lape) Newsgroups: comp.lang.c,comp.std.c Subject: No swap needed..... Message-ID: <1990Jun28.143410.6171@cs.utk.edu> Date: 28 Jun 90 14:34:10 GMT Sender: news@cs.utk.edu (USENET News System) Reply-To: wozniak@utkux1.utk.edu (Bryon Lape) Organization: University of Tennessee Computing Center, Knoxville Lines: 18 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-