EasyManuals Logo

Radio Shack Quick Printer II User Manual

Radio Shack Quick Printer II
236 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 #15 background imageLoading...
Page #15 background image
Well,
this
programming
business is
getting
complicated
and I've already
forgotten
what is
in
our
"big"
program. How can
wc
get
a
listing of what
our program now contains? Easy.
A
new
BASIC
command.
Type
list
nana
The
screen
should read
:
5 REM *THIS
IS MY FIRST
COMPUTER
PROGRAM*
10
PRINT
"HELLO THERE. I AM YOUR
NEW TRS-80 MICROCOMPUTER!"
15
PRINT
20
PRINT "YOU CALLED,
MASTER.
DO
YOU
HAVE A COMMAND?"
You can call for a
LIST any
time
the
prompt appears on
the screen.
Where is
the
END of
the
program?
The end of a
program is,
quite naturally,
the last statement
you
want the Computer to
execute. Most
computers
require
you to
place
an END statement
after this point, so the
computer
will
know it's
finished.
But with
your
TRS-80, an END
statement is optional
you can put
it in or leave
it out.
Remember
though, if you
want
to run your BASIC pro-
grams on
fussier
computers,
you'll
probably
need the END
statement.
Let's take
a
close look
at
END. By the
rules governing its
use, most
dialects of BASIC
which
require
END
insist
that it be the last
statement in a
program, telling the computer
"That's
all,
folks."
By
tradition,
it is given the
number
99,
or
999,
or
9999
(or larger), depending
on
the largest
number
the specific computer
will
accept.
Your RADIO
SHACK
computer
accepts Line
numbers
up
to 32767.
Let's
add an END
statement
to our
program.
Type
in:
99
END
EZJH3
then
run
sasa
The
sample
run
should read:
HELLO
THERE.
I
AM
YOUR
NEW
TRS-80 MICROCOMPUTER!
YOU
CALLED,
MASTER. DO
YOU
HAVE
A
COMMAND?
When "we
get
into
more complex
programs,
youTI
want
to
use £NB
statements to
force
the Com-
puter to:stop at
specified
points
+-
so
actually,
END comes in very
handy
even Wiethe
MlS-Su-
13

Other manuals for Radio Shack Quick Printer II

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack Quick Printer II and is the answer not in the manual?

Radio Shack Quick Printer II Specifications

General IconGeneral
BrandRadio Shack
ModelQuick Printer II
CategoryDesktop
LanguageEnglish

Related product manuals