Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>environ$ return environment table entry</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson