It's an 'old as the hills' C programmers' trick Which is no relection on Glenn of course ...
Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 16 February 2004 16:47 To: [EMAIL PROTECTED] Subject: Re: Swap array values? In UV In a message dated 2/13/2004 11:10:14 AM Pacific Standard Time, [EMAIL PROTECTED] writes: > Within BASIC, try > > array(x)=BITXOR(array(x),array(y)); > array(y)=BITXOR(array(y),array(x)); > array(x)=BITXOR(array(x),array(y)); > > No temp variable used. > ROFL. Nice way to take a simple process and make it unintelligible. You get the gold ribbon. Will -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users ________________________________________________________________________ This email was checked by MessageLabs SkyScan before entering Microgen. ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
