| AppCtrlScript | |
| Help |
|
Applies to |
AppCtrlScript (Module: wmACScr1.dll) |
|
Group |
Primary |
|
See also |
SETVAL, GLOBDIM |
Use this command to initialize script variables.
You can either set a variable to an initial value with the SETVAL command but this command differs from SETVAL 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 DIM command has no effect.
Important information: If you access a variable that has not been used yet, the % variable with that you want to access the value is not resolved and you will get "%SCR.<VariableName>%" as it is as result.
DIM <VariableName>[, <Value>]
|
Part |
Description | |
| <VariableName> |
Name of a script variable, that is accessed with %SCR.<VariableName>% or %VARS.<VariableName>% respectively. | |
| <Value> | Optional initial default value. If missing the default is an empty string. | |
|
| ||