COMMON_API - Function Reference
ReadENV
Syntax
ReadEnv,[GlobalSetting],[LocalVariable]
Parameters
1 |
GlobalSetting |
Optionally specifies the name of a setting in project.ini to load. |
|---|---|---|
| 2 |
LocalVariable |
Only used if the first parameter is specified and optionally allows the name of the local script variable into which the setting is to be loaded to be specified. By default the local variable name will be the same as the setting name. |
Remarks
This function is called to read all settings from project.ini into local script variables of the same name as the setting or optionally a specified setting from project.ini into a local script variable.
Example
The following loads all project settings, loads the Shell setting into a variable named %Shell%, loads the Shell setting into a variable named %ShellName%.
ReadENV
ReadENV,Shell
ReadEnv,ShellName
Common_Api version 8 - 11-08-2009 - Pedro Le 15