Syntax
getenv(key)
Description
The getenv() function retrieves the value of the environment variable named by the key. It returns the value, which will be empty if the variable is not present.
Example
include("main") println("Home directory is: ", getenv("HOME")) Home directory is: /home/eccles