views:

679

answers:

6
+1  Q: 

What does <> mean?

I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:

=IF(D23<>0,"Insufficent",0)

I am converting it to ActionScript:


var result:String = [condition] ? 0 : "Insufficient";

but I am unsure of what D23 <> 0 means, is it simply "not equal"?

+2  A: 

Yes, it's "not equal".

JacobM
+4  A: 

It means not equal to. The same as != seen in C style languages, as well as actionscript.

Kibbee
+14  A: 

Yes, it means "not equal", either less than or greater than. e.g

If x <> y then

can be read as

if x is less than y or x is greater than y then

The logical outcome being "If x is anything except equal to y

Binary Worrier
okay!! First I was confused with the question! I knew about "not equalto" but was wondering if there is anything else :)
Shoban
+3  A: 

Yes in SQl <> is the same as != which is not equal.....excepts for NULLS of course, in that case you need to use IS NULL or IS NOT NULL

SQLMenace
A: 

I instinctively read it as "different from". "!=" hits me milliseconds after.

kalyanji
A: 

"Does not equal"

Joshua Fox