EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Chapter
10
I
BASIC
Ke,ywords
ENVIRON
Advanced Statement
ENVIRON
“parameter
id
=
text” [;“parameter
id
=
text”,
. .
.I
Lets you modify BASIC’s Environment String Table, such as
changing the PATH parameter for a child process
or
passing pa-
rameters
to
a
child process. BASIC’s Environment String Table
is initially empty.
Parameter
Id
is the name
of
the parameter.
Text
is the new parameter text. It must be separated from
pa-
rameter
id
by an equal sign
(=)
or
a space. BASIC reads the
first nonblank, nonequal sign character after the
parameter
id
as
the
text.
If you omit
text,
or specify a null string
or
a
semicolon
(
;
),
BASIC removes the parameter from the Environment String
Table and compresses the table.
Parameter
id
=
text
must be enclosed in quotation marks and be
typed in all uppercase characters.
When you change a parameter in the Environment String Table,
BASIC deletes the old parameter and adds the new one to the
end
of
the table.
If the parameter does not exist in the Environment String Table,
BASIC adds it to the end
of
the table.
For
more information on Environment String Tables, see the
Pro-
grammer’s Reference
manual
for
your computer. It is available
at
your Radio Shack Computer Store.
Examples
ENVIRON
“PATH=A:
\”
sets the default path to the
root
directory on Drive A.
E
NV
I
R
0
N
“SAL
E
S
=
MY
S
A
L
E
S”
sets the name SALES equal to MYSALES. The Environment
String Table now looks like this:
PATH=A:\;SALES=MYSALES
148

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals