@Kezzla:
Yeah, it's amazing when you think you have a language waxed and then you get these little oddities that jump up and make your life so much easier. Here's a useful thing I picked up on an unrelated thread recently - credits to Chris Tate:
You can return an evaluation to a variable, C-style!
nThatVar = 5
nTheOtherVar = 3
nThisVar = (nThatVar > nTheOtherVar)
// nThisVar = 1
nThisVar = (nThatVar < nTheOtherVar)
// nThisVar = 0
nThisVar = (nThatVar = nTheOtherVar)
// nThisVar = 0
Until then, I thought you could only do that in c++.
Here's the thread:
http://forum.thegamecreators.com/?m=forum_view&t=198228&b=1