LOTUSSCRIPT LANGUAGE


Declarations
Declarations include the Declare statement for forward references, the Declare statement for external C calls, the Const statement, and the Dim statement. With one exception, declarations do not produce executable code. The result of a declaration is information about a procedure, a variable, or a constant; for example, its type, dimensions, or value. This governs the behavior of the script that uses the declared item; but the declaration itself is not executed when the script runs.

The exception is a Dim statement that includes the keyword New. The result of this statement is to construct a new object of a class; and this is done when the script is executed. This is the only declaration that generates executable code.

See Also