AT&T 6300 Programmer's Manual page 245

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Examples
ENVIRON
Statement
• If
"parm-id" does not exist in the
Environment String Table, then "parm-id" is
added at the end of the Environment String
Table.
• If
"parm-id" does exist, it is deleted, the
Environment String Table is compressed, and
the new "parm-id" is added at the end.
The following MS-DOS command will create a
default "PATH" to the Root Directory on Disk
A:
PATH=A:
The PATH may be changed to a new value by:
ENVIRON"PATH = A:SALES;
A:ACCOUNTING"
A new parameter may be added to the
Environment String Table:
ENVIRON "SESAME = PLAN"
The Environment String Table now contains:
PATH = A:SALES;A:ACCOUNTING
SESAME = PLAN
If
you then entered:
ENVIRON "SESAME = ;"
then you would have deleted SESAME, and
you would· have a table containing:
PATH = A:SALES;A:ACCOUNTING
7-89

Advertisement

Table of Contents
loading

Table of Contents