GETENV$
|
Syntax: |
GETENV$(<Environment Variable>) <Environment Variable> =
<STRING-EXPRESSION> |
||
|
Meaning: |
Reads an environment variable. If GETENV$ has been executed successfully,
the variable OK is set to 0, otherwise OK
is -1 and GETENV$ returns the empty string "". |
||
|
Parameter: |
|
||
|
Sample: |
ENV$ = GETENV$("windir") IF OK
= -1 THEN ... Error ... ENDIF |
||
|
See also: |