Returns the string value assigned to a system environment variable
(getenv variable-name)
Arguments
A string specifying the name of the variable to be read. Environment variable names must be spelled and cased exactly as they are stored in the system registry.
Return Values
getenv returns nil.
A string representing the value assigned to the specified system variable. If the variable does not exist,Examples
ACAD is set to /acad/support and there is no variable named NOSUCH.
Assume the system environment variableCommand: (getenv "ACAD")
"/acad/support"
Command: (getenv "NOSUCH")
nil
MaxArray environment variable is set to 10000:
Assume that theCommand: (getenv "MaxArray")
"10000"
setenvfunction.
The