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 #318 background imageLoading...
Page #318 background image
Chapter
10
I
BASIC
Keywords
STOP
Statement
Stops program execution.
When BASIC encounters
a
STOP statement, it prints the mes-
sage “BREAK IN
xax,”
where
xxxx
is the line number that con-
tains the STOP. STOP is primarily a debugging tool. During the
break in execution,
you
can examine variables
or
change their
values.
Use the CONT statement if you want
to
resume execution. If the
program itself has been altered during the break, you cannot
use CONT.
Unlike the END statement, STOP does not close files.
Sample Program
2260
X
=
RNDCl0)
2270
STOP
2280
GOT0
2260
A random number in the range
1
to 10 is assigned to
X
and
then program execution halts
at
Line 2270. You can now exam-
ine the value
X
with PRINT
X.
Type CONT
to
start the cycle
again.
316

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