Lingo Dictionary > Symbols > = (equals) |  |

= (equals)

Syntax

    expression1 = expression2

Description

Comparison operator; compares two expressions, symbols, or objects and determines whether `expression1` is equal to `expression2` (`TRUE`), or whether `expression1` is not equal to `expression2` (`FALSE`).

This operator can compare strings, integers, floating-point numbers, rects, lists, and points.

Lists are compared based on the number of elements in the list. The list with more elements is considered larger than the than the list with fewer elements.

This is a comparison operator with a precedence level of 1.