<> less than & greater than
by rennie moffat · in Torque Game Builder · 12/01/2009 (8:38 pm) · 8 replies
Would Torque be able to understand <>, I know it is not listed or I should build and I am, tho I doubht my prgoram will fly tonight and in the meantime it would be good to know.
Can I just use
%this <> %this
Instead if
%this < %this
&!!!!!!!!!!!
%this > %this
Can I just use
%this <> %this
Instead if
%this < %this
&!!!!!!!!!!!
%this > %this
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
12/01/2009 (9:05 pm)
yes I saw in operators that it did not exist, I was just wondering if I could "create" that. But no, so thank you!
#3
You really shouldn't use them though. No telling what might happen. We probably shouldn't even be talking about it. They may be watching. Shit I might have already said too much. Listen if I
12/01/2009 (10:44 pm)
What you're looking for. They're called END codes. Undocumented operators that exist in no computer language but are built into the core of all CPUs. There are two of them. "Greater than AND less than" and "greater than OR less than", and they are used thus:if (a <&> b) implodeUniverse()and
time += delta * float(year <|> 2012)
You really shouldn't use them though. No telling what might happen. We probably shouldn't even be talking about it. They may be watching. Shit I might have already said too much. Listen if I
#4
NOOOOoooooo.
Just kidding.
aka
awesome.
12/01/2009 (11:29 pm)
Holy SHit did you Get cut OFF?!!!?!!!NOOOOoooooo.
Just kidding.
aka
awesome.
#5
There are no undocumented operators.
I just made that up.
Don't use them.
Ever.
They are watching.
12/01/2009 (11:33 pm)
I was mistaken.There are no undocumented operators.
I just made that up.
Don't use them.
Ever.
They are watching.
#6
I know and respect the product.
believe me,
i would never "compromise" it.
12/02/2009 (1:06 am)
I am glad they are watching,I know and respect the product.
believe me,
i would never "compromise" it.
#7
12/02/2009 (3:41 am)
<> (not equal) is nothing else than !=
#8
12/06/2009 (3:24 am)
#3++.
Associate Scott Burns
GG Alumni
The proper syntax is:
if(%x > %y) { } if(%x < %y) { }