Programmer's Guide > Interfaces > ScriptContext interface > scriptType enumeration
  
scriptType enumeration
Passed as the value of the scriptType parameter to loadScriptText.
The scriptType enumeration has the following constants of type unsigned short.
SCRIPT_GLOBAL_EXPRESSION = 0
An expression in global scope
SCRIPT_PRIVATE_EXPRESSION = 1
An expression in private scope
SCRIPT_GLOBAL_STATEMENT = 2
A statement in global scope
SCRIPT_PRIVATE_STATEMENT = 3
A statement in private scope