Functions to Access Environment Variables
- Last UpdatedJan 07, 2026
- 1 minute read
|
TB_environment_get(Env) |
||
|
The function gets the value of an environment variable. |
||
|
Input parameters: |
||
|
Env |
string |
The name of the environment variable |
|
Returned value: |
||
|
[0] |
string |
The value of the variable |
|
Exceptions: |
||
|
kcs_TranslateError |
No translation could be done |
|
|
TB_environment_set(Env, Value) |
||
|
The function sets a environment variable. |
||
|
Note: The variable is changed only in the current process. Variables that set databank paths will not take effect. |
||
|
Input parameters: |
||
|
Env |
string |
The name of the environment variable |
|
Value |
string |
The new value of the environment variable |
|
Returned value: |
||
|
None |
||
|
Exceptions: |
||
|
None |
||