2DWorlds Forums
h4x - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: Off Topic (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=5)
+--- Forum: Programming (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=30)
+--- Thread: h4x (/showthread.php?tid=7106)



h4x - noob007 - 07-22-2011

How to swap two variables without using a temporary in a single line!

[lua]a^=b^=a^=b;[/lua]



:O


RE: h4x - Chaos - 07-23-2011

Paradox?


RE: h4x - noob007 - 07-24-2011

oyus.