Map and Table Calculation

<> or NE operator

Tests whether the outcome of a is not equal to the outcome of b, i.e. a <> b. Instead of using the <> sign, you may also use ne.

Syntax

a <> b
a ne b

Input

When used on values:

a is a value
Domain type: any Value domain
b is a value
Domain type: any Value domain

When used on strings:

a is a string
Domain type: any Class, ID or Group domain or system domain String
b is a string
Domain type: any Class, ID or Group domain or system domain String

Output

= returns: a boolean value, i.e. True, False or undefined
Domain: system domain Bool

Notes:

Tips:

Usable in

MapCalc, TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? 10 <> 20

returns True

? 10 ne 10

returns False

? "MyString" <> "MyString"

returns False

? "MyString" <> "String"

returns True

MapCalc examples:

OutMap1 = InMap1 <> 20

 

InMap1

OutMap1

50 45 -40
40 0 15
? 10 20
True True True
True True True
? True False

OutMap2 = InMap2 <> "Forest"

InMap2

OutMap2

Forest Forest Grass
Lake Lake Grass
? Grass Forest
False False True
True True True
? True False

TabCalc examples:

OutCol1 = InCol1 <> 20

 

InCol1

OutCol1

50

True

45

True

-40

True

40

True

0

True

15

True

?

?

10

True

20

False

OutCol2 = InCol2 <> "Forest"

InCol2

OutCol2

Forest

False

Forest

False

Grass

True

Lake

True

Lake

True

Grass

True

?

?

Grass

True

Forest

False

See also:

= >
< >=