Determine the value of the operating system variable.
This function returns the value of a specified operating system environment variable-for example, as stored by the DOS PATH variable. If the variable exists, its value is returned as a string; if it does not exist, nil is returned.
Examples
Code | Returns |
---|---|
(getenv "PATH") | C:\\;C:\\WIN95;C:\\ICAD |
(getenv "junk") | nil |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |