str-var = Get_ENVVAR$(env-var-str)


Operands:

env-var-str

the name of the environment variable for which the data is to be returned.


Returns:


Returns the string value for the specified var-name. If an unknown variable name is specified, a "" (a zero-length string) will be returned.


If a valid env-var-str, RC will be 0 and Msg$ will be "" (Null)

If an invalid env-var-str, RC will be 8, and Msg$ will contain an error message


Special Notes:


For example, Get_ENVVAR$("COMSPEC") would return the name of the system's command processor (Typically C:\Windows\System32\Cmd.EXE


Created with the Personal Edition of HelpNDoc: Achieve Professional Documentation Results with a Help Authoring Tool