EasyManuals Logo

Tandy 1000 User Manual

Default Icon
337 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 #282 background imageLoading...
Page #282 background image
Basic
ENVIRON$
[("parameter
id")]
[(number)]
Advanced Function. Returns the specified environment string from
BASIC's Environment String Table.
Parameter
id
is the parameter for which to search and must be
enclosed in quotation marks.
Number
specifies which parameter to return by its position within
the table.
Number
and
parameter
id
are
mutually exclusive; only one may be
specified on the command line.
PRINT ENVIRON$("PATH")
E
OF(
buffer)
Detects the end
of
a
file.
Buffer
is
the number assigned to the file
when you opened
it.
Sequential files: EOF returns
0
(false), when the end-of-file record
has not been read yet, and
-1
(true), when
it
has been read.
Direct access files:
EOF
returns
-
1
(true) if the last executed GET
statement was unable to read an entire record because of an attempt
to read beyond the physical end of the file.
IF EOF(1) THEN GOTO1540
E OF(
buffer)
Communications. Detects an empty input queue for communications
files.
Buffer
is
the number assigned to the file when you opened it.
ASCII mode: EOF returns
-
1
(true) if
a
CONTROL-Z is received.
EOF remains true until the device
is
closed.
Binary mode: EOF returns
-
1
(true) when the input queue is empty.
EOF becomes false when the input queue is not empty.
IF
EOF(3)
THEN RETURN
Tandy
1000
31

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