Next: , Previous: , Up: Built-in functions   [Contents][Index]


7.2.3.19 $GETENV: Get value of environment variable

$GETENV(name)’ returns a string consisting of the current value of the environment variable name. (Under VMS, logical names behave like environment variables.)

The argument to $GETENV need not be a string (double-quoted), but it may be if necessary to avoid the expansion of a macro.