RE: Sign or Script for "Not Equal"

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ystan2010
Posts: 26
Joined: Tue Mar 22, 2011 4:38 am

RE: Sign or Script for "Not Equal"

Post by ystan2010 » Mon Apr 04, 2011 5:55 am

Can anyone here please tell me what is the operator for the "NOT EQUAL" command?

Thanks,
JYST

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: RE: Sign or Script for "Not Equal"

Post by Dixie » Mon Apr 04, 2011 11:04 am

Jon...

'<> '... compares two values and returns true if they are not equal, false if they are equal.
for example

put 7 <> 5 would return true

be well

Dixie

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10319
Joined: Wed May 06, 2009 2:28 pm

Re: RE: Sign or Script for "Not Equal"

Post by dunbarx » Tue Apr 05, 2011 12:10 am

Dixie is exactly right. Be careful NOT to use "≠". It just isn't what it used to be.

Craig Newman

Post Reply