EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 203

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
203
CHAPTER 11
Keywords
This section provides an alphabetical list of all the keywords available in Macromedia Director
MX 2004.
These keywords apply only to Lingo. JavaScript syntax does contain some keywords and
constructs that are similar in function to the following Lingo keywords, but they are not
documented here. For more information about JavaScript syntax keywords and constructs, see
Chapter 2, “Director Scripting Essentials,” on page 9.
\ (continuation)
Usage
-- Lingo syntax
first part of a statement on this line \
second part of the statement \
third part of the statement
Description
Continuation symbol; when used as the last character in a line, indicates that the statement
continues on the next line. Lingo then interprets the lines as one continuous statement.
Example
This statement uses the \ character to wrap the statement onto two lines:
-- Lingo syntax
if sprite("mySprite").member = member("myMember") then \
_player.alert("The sprite was created from myMember")
case
Usage
-- Lingo syntax
case expression of
expression1: Statement
expression2: Statement(s)
expression3, expression4: Statement
{otherwise: Statement(s)}
end case

Related product manuals