User Guide

window() 589
voidP()
Usage
-- Lingo syntax
voidP(variableName)
// JavaScript syntax
variableName == null
Description
Function; determines whether a specified variable has any value. If the variable has no value or
is
VOID, this function returns TRUE. If the variable has a value other than VOID, this function
returns
FALSE.
Parameters
variableName
Required. Specifies the variable to test.
Example
This statement checks whether the variable answer has an initial value:
-- Lingo syntax
put voidP(answer)
// JavaScript syntax
put(answer == null));
See also
ilk(), VOID
window()
Usage
-- Lingo syntax
window(stringWindowName)
// JavaScript syntax
window(stringWindowName);
Description
Top level function; returns a reference to a specified window.
The specified window must contain a Director movie.
Windows that play movies are useful for creating floating palettes, separate control panels, and
windows of different shapes. Using windows that play movies, you can have several movies open
at once and allow them to interact.
Parameters
stringWindowName
Required. A string that specifies the name of the window to reference.