GetGlobal

Introduced

5.0

Description

Retrieves the value of a global variable set with SetGlobal or SetGlobalObject.

Scripting Syntax

    GetGlobal( in_VariableName )

Parameters

Parameter | Type | Description
in_VariableName | String | Name of the variable to look up

Return Value

The Variant value set by a call to SetGlobal. If the global variable does not exist then null is returned.

Examples

1. JScript Example

    // See SetGlobal for a JScript example using GetGlobal

2. VBScript Example

    ' See SetGlobal for a VBScript example using GetGlobal

See Also

SetGlobal | SetGlobalObject

Autodesk Softimage v7.5