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 #151 background imageLoading...
Page #151 background image
Chapter
10
I
BASIC
Keywords
ENVIRON$
Advanced
Function
ENVIRON$
[('>parameter
id")]
[(number>l
Returns the specified environment string from BASIC's Environ-
ment String Table.
Parameter
id
specifies the parameter for which
to
search. ENVI-
RON$ returns the text string for
parameter
id.
If
the parameter
does not exist or does not contain a text string, ENVIRON$ re-
turns an empty string.
Parameter
id
must be enclosed in quota-
tion marks. If you omit
parameter
id,
you must specify
number.
Number
specifies which parameter
to
return by its position
within the table. ENVIRON$ returns the text string
for
the
number
parameter. If there
is
not a parameter in that position,
ENVIRON$ returns an empty string. If you omit
number,
you
must specify
parameter
id.
Parameter
id
and
number
are mutually exclusive, only one may
be specified on the command line.
For
more information on the Environment String Tables, see the
Programmer's Reference
manual
for
your computer. It is available
at your Radio Shack Computer Store.
Example
If you execute the following ENVIRON statements:
ENVIRON
"PATH=A:
\I'
ENVI
RON
"SALES=MYSALES"
the Environment String Table looks like this:
PATH=A:\;SALES=MYSALES
The command PRINT ENVIRON$("PATH") prints
A:
\
.
The command PRINT ENVIRON$(B) prints SALES
=
MYSALES.
149

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