|
This function returns a string containing the value of an environment variable. If the environment variable is not set an empty string is returned. |
||||||
Syntax: |
|||||||
{STR_VAR}= getenv({STR_EXPR}) | |||||||
I/O parameters:
|
|||||||
Return value: |
|||||||
|
|||||||
Example: |
|||||||
Declaration of Variables | |||||||
10 DOCU_STRING_1 = getenv("DATAVIEW_TEMP") 20 put(DOCU_STRING_1) |
|||||||
Result: | |||||||
"DOCU_STRING_1" contains the path of "DATAVIEW_TEMP". | |||||||
![]() |
Functions and commands: Operating System Interface |