|
||||||||||
|
|
||||||||||
| Other Library Functions | ||||||||||
| function | UTIL_GetEnv |
Available in:
Professional Enterprise |
|
Library: omutil - miscellaneous system utilities
Include: omutil.xin |
Return type: String Returns: The value of an environment variable. |
define external stream function UTIL_GetEnv
( value stream VarName )
This function is used to retrieve the value of an environment variable. If the environment variable is not set, UTIL_GetEnv returns a zero-length string.
Example:
; display the current path
include "omutil.xin"
process
output "Path = " || UTIL_GetEnv("Path") || "%n"
| ---- |