AppCtrlScript

MAY Computer

Help

GLOBDIM

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Primary

See also  

SETGLOBVAL, DIM

Use this command to initialize global variables.

You can either set a global variable to an initial value with the SETGLOBVAL command but this command differs from SETGLOBVAL in the way that the variable is not touched, if it already has been set to another value. If the variable has been already set to a value (either to an empty string) before the GLOBDIM command has no effect.

Important information: If you access a global variable that has not been used yet, the % variable with that you want to access the value is not resolved and you will get "%GLB.<VariableName>%" as it is as result.

Syntax

GLOBDIM <VariableName>[, <Value>]
DIMGLOB <VariableName>[, <Value>]

Part

Description

<VariableName>

Name of a script variable, that is accessed with %GLB.<VariableName>%.

<Value> Optional initial default value. If missing the default is an empty string.