- Name
-
GetEnv -- read environment variable (V5.0)
- Synopsis
-
s$, ok = GetEnv(var$)
- Function
-
This command can be used to read the contents of the environment variable
specified in
var$. If the specified environment variable could not be
found, an empty string is returned and the second return value is set to
False. If the environment variable could be found, the second return value
will be True.
- Inputs
-
- var$
- environment variable to examine
- Results
-
- s$
- contents of specified environment variable
- ok
True or False depending whether or not the specified
environment variable could be found
Show TOC