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"?

Answers


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"


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


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


Yes, it's "not equal".


"Does not equal"


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


Need Your Help

JQuery adds unwanted div after an ajax call

php javascript jquery ajax html

I have an jquery ajax call where I add a new comment to a database. It saves just fine but when i want to reaload the div where the comments are shown, I always get an additional div which I do not...

Is there a Whatsapp style webservice API that I can integrate in my app?

api rest messaging

I would not like to spend months re-implementing the technicalities of a WhatsApp style server backend. For this reason I do wonder whether some company has already produced a software that I can u...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.