Equivalence
=
Stack | Position | Description |
---|---|---|
Stack(In) | Top | a |
Top 1 | b | |
Stack(Out) | Top | TRUE if b == a, FALSE if b!= a |
The values from the stack are compared according to the table.
If the operands are vectors, all elements are compared in pairs: Two vectors are equal if the number of their elements matches, pairs of elements represent the same type and the operator = applied to each pair of elements would return TRUE(examples).
Note:
for != operator use combined variant with = and ifnot or =, ! and if
for example: The expression in C/C++ notation if (a != b) { ... looks like this in InstantView®Script: a b = ifnot { ... or a b = ! if { ....
If you want to compare two objects, use the identity @.