Environment variables can be queried by using the function getenv(). The data type of the value returned is String, e.g.,
home = getenv("HOME"); // -> "/home/user9" path = getenv("HOME") + "/work/defaults.ipd"; // -> "/home/user9/work/defaults.ipd"
Robert Klima 2003-02-06