EasyManuals Logo

Radio Shack TRS-80 Model III User Manual

Radio Shack TRS-80 Model III
274 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 #22 background imageLoading...
Page #22 background image
TRS-80
MODEL
III
Modes of
Operation
BASIC has four modes
of operation:
Immediate mode
for typing in
program
lines
and
immediate
lines
Execute mode
for execution
of programs
and
immediate
lines
Edit mode
for editing
program
and immediate lines
System mode
for loading
machine-language
tapes and for
transferring
control
to machine-language
programs
Immediate
Mode
Whenever you enter the
immediate
mode , BASIC
displays a header and
a
special
prompt:
READY (header)
>
(prompt followed by blinking
block "cursor")
While you are in the immediate mode, BASIC will
display
the
prompt
at the
beginning of
the
current logical line
(the
line you are typing in).
In the
immediate
mode, BASIC
does not take your input
until you complete
the
logical
line by pressing
(ENTER) . This is called "line
input'
'
, as opposed
to
"character input".
Interpretation
of an Input
Line
BASIC always
ignores leading
spaces in the line
it
jumps
ahead to the first
non-space
character. If this
character
is not a
digit,
BASIC treats the line
as an
immediate
line. If it
is a digit, BASIC treats
the
line
as a program line.
For example:
PRINT "THE TIME
IS"; TIME$
(ENTER)
BASIC
takes
this
as an immediate
line.
If
you
type:
1
PRINT
"THE TIME
IS"; TIME$
dNTjR)
BASIC takes this as a
program line.
Immediate Line
An
immediate line
consists of one or more
statements separated
by colons . The
line
is executed as soon
as you press
(ENTER) .
For
example:
CLS:
PRINT "THE SQUARE ROOT OF
2 IS";
SQR(2)
is
an
immediate line.
When
you press (ENTER)
.
BASIC
executes it.
12

Other manuals for Radio Shack TRS-80 Model III

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack TRS-80 Model III and is the answer not in the manual?

Radio Shack TRS-80 Model III Specifications

General IconGeneral
BrandRadio Shack
ModelTRS-80 Model III
CategoryDesktop
LanguageEnglish

Related product manuals