This operator can compare strings, integers, floating-point numbers, rects, and points. Be aware
that comparisons performed on rects or points are handled as if the terms were lists, with each
element of the first list compared to the corresponding element of the second list.
This is a comparison operator with a precedence level of 1.
= (equals)
Usage
-- Lingo syntax
expression1 = expression2
// JavaScript syntax
expression1 = expression2
Description
Comparison operator; compares two expressions, symbols, or objects and determines whether
is equal to
expression1
(
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.
> (greater than)
Usage
-- Lingo syntax
expression1 > expression2
// JavaScript syntax
expression1 > expression2
Description
Comparison operator; compares two expressions and determines whether
than
expression2
(
).
FALSE
This operator can compare strings, integers, floating-point numbers, rects, and points. Be aware
that comparisons performed on rects or points are handled as if the terms were lists, with each
element of the first list compared to the corresponding element of the second list.
This is a comparison operator with a precedence level of 1.
606
Chapter 13: Operators
(
expression2
TRUE
).
(
), or whether
TRUE
expression1
), or whether
expression1
is less than or equal to
is not equal to
is greater
expression1
expression2
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers