Author Topic: Where can I get started with torque?  (Read 1332 times)

bitwise xor
Yeah, it is. I personally would prefer if it were for exponents though. I guess for continuity across languages that's better left as mPow though.

Yeah, it is. I personally would prefer if it were for exponents though. I guess for continuity across languages that's better left as mPow though.
Well what single charachter would you use for XOR then?

Well what single charachter would you use for XOR then?
How many times have you used XOR in your Torque coding experience?

How many times have you used XOR in your Torque coding experience?
Around 10, but way to not answer my question.

Around 10, but way to not answer my question.
I have a hard time believing you. My point was that XOR is pretty much useless, at least in Torque. Binary handling is awful, I've only even used it like 3 times (excluding typemasking) and it could probably have been done better without using binary. You're right, there's no other easily accessible character for XOR. How about the word "XOR"? if(%bit XOR %bit2 == %bit3)
« Last Edit: August 19, 2012, 11:54:37 PM by TripNick »