Map and Table Calculation

= or EQ operator

Tests whether the outcome of a is equal to the outcome of b, i.e. a = b. Instead of using the = sign, you may also use eq.

Syntax

a = b
a eq 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 False

? 10 eq 10

returns True

? "MyString" = "MyString"

returns True

? "MyString" = "String"

returns False

MapCalc examples:

OutMap1 = InMap1 = 20

 

InMap1

OutMap1

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

OutMap2 = InMap2 = "Forest"

InMap2

OutMap2

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

TabCalc examples:

OutCol1 = InCol1 = 20

 

InCol1

OutCol1

50

False

45

False

-40

False

40

False

0

False

15

False

?

?

10

False

20

True

OutCol2 = InCol2 = "Forest"

InCol2

OutCol2

Forest

True

Forest

True

Grass

False

Lake

False

Lake

False

Grass

False

?

?

Grass

False

Forest

True

See also:

<> >
< >=