Using Director > Writing Scripts with Lingo > Expressing literal values

 

Expressing literal values

A literal value is any part of a statement or expression that is to be used exactly as it is, rather than as a variable or a Lingo element. Literal values that you encounter in Lingo are character strings, integers, decimal numbers, cast member names and numbers, frame and movie names and numbers, symbols, and constants.

Note: The value() function can convert a string into a numerical value. The string() function can convert a numerical value into a string.

Each type of literal value has its own rules.