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 #183 background imageLoading...
Page #183 background image
Chawter
10
I
BASIC Kevioords
INPUT#
Statement
INPUT#
buffer,
variable[,variable..
.I
Accepts data from
a
sequential device
or
file and stores it in a
program
variable.
Buffer
is the number assigned to the file when you opened it.
Variable
is any string or numeric variable to contain the
in
for
mat ion.
The sequential file may be a disk file, a data stream from a com-
munications device, or the keyboard device.
With INPUT#, data is input sequentially. That is, when the file
is opened,
a
pointer is set to the beginning
of
the file. The
pointer advances each time data is input.
To
start reading from
the beginning
of
the file again, you must close the file buffer and
reopen it.
INPUT# does not care how you place the data in the file-
whether you use a single PRINT# statement
or
10
different
PRINT# statements. INPUT# looks only
for
the position
of
the
terminating characters and the end-of-file
(EOF)
marker.
When inputting data into a variable, BASIC ignores leading
blanks. When the first nonblank character is encountered,
BASIC assumes it has encountered the beginning
of
the data
item.
181

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