Swapping two variables
Posted: Fri Dec 31, 2010 9:28 am
Hi,maybe it's a bit stupid one,but what about including a command for swapping two variables to Hollywood? Amos had the Swap(x,y) which did it well while in Hollywood for swapping x and y you have to use another variable eg. :
x = help
x = y
y = help
Sometimes the swap command would be very useful,I found it out while programming BoingPairs...
x = help
x = y
y = help
Sometimes the swap command would be very useful,I found it out while programming BoingPairs...