GetEnvStr

GetEnvStr

%GetEnvStr function


Function

The function retrieves the value of the specified environment variable.

Declaration

TEXT %GetEnvStr( TEXT in envVarName )

Parameters

envVarName

Name of environmental variable.

Return value

The value of the environmental variable. If the environmental variable doesn't exist, it returns empty text (text with zero-length).

Example

TEXT _value _value := %GetEnvStr("PATH")