The = operator compares two values to see if they are the same.


This operator has two parameters:

value1 – The first numeric or text value.

value2 – The second numeric or text value.


The = operator compares two values to see if they are equal (the same). The result is true if the values are the same and false if they are different. If text values are compared, the result will only be true if the two values are exactly the same, including upper and lower case (use the match operator if you want to ignore case). Here are some examples:

34 = 34 ☞ true
34 = 45 ☞ false
"abc" = "abc" ☞ true
"abc" = "xyz" ☞ false
"abc" = "ABC" ☞ false
"123" = 123 ☞ false

You can also spell out the operator name, like this:

984 isequalto 984 ☞ true
"abc" isequalto "xyz" ☞ false

Note: The Boolean values true and false are actually integer (numeric) values -1 and 0.

Note: If you are a “C” programmer, Panorama’s = operator is equivalent to C’s == operator. (In fact, Panorama will allow you to use == if you wish.)

See Also


10.0UpdatedCarried over from Panorama 6.0 but no longer results in an error if there is a type mismatch -- instead simply returns false.