>= (greater than or equal to)
Usage
-- Lingo syntax
expression1 >= expression2
// JavaScript syntax
expression1 >= expression2
Description
Comparison operator; compares two expressions and determines whether
than or equal to
(
).
FALSE
This operator can compare strings, integers, floating-point numbers, rects, and points. Be aware
that comparisons performed on rectangles 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.
[ ] (bracket access)
Usage
-- Lingo syntax
textExpression[chunkNumberBeingAddressed]
textExpression[firstChunk..lastChunk]
Description
Operator; allows a chunk expression to be addressed by number. Useful for finding the nth
chunk in the expression. The chunk can be a word, line, character, paragraph, or other Text cast
member chunk.
Example
This outputs the first word of the third line in the text cast member First Names:
-- Lingo syntax
put(member("First Names").text.line[3].word[1])
// JavaScript syntax
put(member("First Names").getPropRef("line", 1).getProp("word", 1));
[ ] (list)
Usage
[entry1, entry2, entry3, ...]
Description
List operator; specifies that the entries within the brackets are one of four types of lists:
•
Unsorted linear lists
•
Sorted linear lists
•
Unsorted property lists
•
Sorted property lists
(
), or whether
expression2
TRUE
is less than
expression1
is greater
expression1
expression2
[ ] (list)
607
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