Next: , Up: System   [Contents][Index]


17.20.1 getenv

The getenv built-in function has the form:

fun getenv (string name) string:

Given the name of an environment variable, it returns a string with its value. If the variable is not defined in the environment, then the E_inval exception is raised.