#

# LogiView

## Function 'getenv'

| 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:
| {STR_EXPR} | Environment variable to be read
| - |
| ### Return value:
| {STR_VAR} | Value of environment variable
| ### 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