<>

Blitz3D Forums/Blitz3D Beginners Area/<>

Pao Hang(Posted 2003) [#1]
what does this operator stand for?

not equal to... or is it less then or greater than...


Myke-P(Posted 2003) [#2]
"Less than or greater than", "not equal to", "anything but"...

All phrases meaning the same thing and expressed using the "<>" comparative operator.

[EDIT] Um.. In other words, yes, you were right. :) [/EDIT]


Pao Hang(Posted 2003) [#3]
thanks


Al Mackey(Posted 2003) [#4]
We here in America like to think of it as the "ain't" operator.


WolRon(Posted 2003) [#5]
We here in America like to think of it as the "ain't" operator.

I resent that...


pjd(Posted 2003) [#6]
why ?


cbmeeks(Posted 2003) [#7]
You know, I used to think only us Southerners used "ain't" but that's not true. I was watching The Three Stooges one day and they used it a lot in normal conversation... (they were from New York mostly)

lol

cb


_PJ_(Posted 2003) [#8]
sorry for hijack,

but along similar lines should

<= be <= or =<

and
>= or =>

or is NOT <
or NOT >

better?


Odds On(Posted 2003) [#9]
<= is the same as =<
>= is the same as =>

you lost me on that last bit tho :P


soja(Posted 2003) [#10]
You cannot use "NOT <" or "NOT >".

NOT is a unary operator and must be applied to an expression, not another operator. You CAN say something like:

"NOT a% < 2" or "NOT (a% < 2)"
(as opposed to "a% NOT < 2")

But as far as the question goes, I doubt it matters one way or the other. The compiler is probably smart enough to figure it out and write the same code in both cases.


_PJ_(Posted 2003) [#11]
great thanks!


WolRon(Posted 2003) [#12]
We here in America like to think of it as the "ain't" operator.


WolRon Posted
I resent that...


pjd Posted
why ?



Because if ain't is a word than what is it a contraction of? Ai and not?


Qube(Posted 2003) [#13]
Because if ain't is a word than what is it a contraction of? Ai and not?

It's all explained here http://dictionary.reference.com/search?q=aint :)