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 #134 background imageLoading...
Page #134 background image
Chapter
10
I
BASIC Keywords
DATA
Statement
DATA
constant [,constant,.
.
.]
Stores numeric and string constants
to
be accessed by a READ
statement.
This statement may contain
as
many
constants
(separated by
commas) as can
fit
on a line (a maximum of
255
characters in-
cluding the word DATA, commas, and spaces).
DATA statements may appear anywhere it is convenient in a pro-
gram. BASIC reads DATA statements sequentially, starting with
the first constant in the first DATA statement and ending with
the last item in the last DATA statement.
String constants containing delimiters, such as leading or trail-
ing blanks, colons, or commas, must be enclosed in double quota-
tion marks when used in DATA statements.
The data types in a DATA statement must match with the vari-
able types in the corresponding READ statement, otherwise,
BASIC displays a “Syntax error.”
Note that numeric expressions are not allowed in a DATA state-
ment.
To reread DATA statements from the beginning, use
a
RE-
STORE statement before the next READ statement.
132

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