![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | UTIL_GetEnv | ||||
| Other Library Functions |
|
Library: System Utilities
Include: omutil.xin |
Returns: String
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 output UTIL_GetEnv( "path" ) || "%n"
|
Other Library Functions UTIL_ExpRand UTIL_GetEnv UTIL_GetMilliSecondTimer UTIL_GetProcessId UTIL_LibraryVersion UTIL_Rand UTIL_Sleep UTIL_Srand UTIL_UniformRand |
| ---- |