View Single Post
09-03-10, 08:10 AM   #5
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Code:
a[1], a[2] = a[2], a[1]
will work fine, no need for a temporary variable.
__________________
「貴方は1人じゃないよ」
  Reply With Quote