[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ENVIRON$ Return Environment Table Entry
s$ = ENVIRON$({parm | n})
Returns the value of a specified entry in the current environment
table.
parm A string expression specifying an environment parameter.
n An integer expression in the range 1 to 255 specifying the
nth entry in the environment table.
-------------------------------------------------------------------------
Notes: ENVIRON$ is case sensitive, so if parm does not exactly
match a name in the environment table, the function
returns a null string.
If the argument is given as n, ENVIRON$ returns the nth
entry in the table. Unless the table has been modified
since bootup, the first entry will be COMSPEC, the second
will be PATH (if a PATH command has been issued), and the
third will be PROMPT (if a PROMPT command has been
issued). If there is no nth entry, a null string is
returned.
See Also:
ENVIRON
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson