EasyManua.ls Logo

Radio Shack TRS-80 PC-3

Radio Shack TRS-80 PC-3
289 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
Loading...
when
you
press
(ENTER)
at
the
end
of
a
calculation,
the
contents
of
the
display will be
printed
on
one
line
and
the
results will be
printed
on
the
next.
For
example:
Input
3@@
/
5@
Paper
300/50
6.
You
may
print
output
on
the
Printer
from
within
BASIC
programs
by
using
the
LPRINT
statement
(see
Chapter
8
for
details).
LPR INT
functions
in
exactly
the
same
fashion as
the
PR INT
statement,
since
both
the
display
and
the
Printer
are
24
characters
wide.
The
only
difference
is
that,
if
you
PR INT
something
to
the
display which
is
longer
than
24
characters,
there
is
no
way
for
you
to
see
the
extra
characters.
With
the
LPRINT
verb,
the
extra
characters
will be
printed
on
a
second
and
possibly
a
third
line,
as
is
required.
Programs
which
have been
written
with
PRINT
can be
converted
to
work
with
the
Printer
by
including a
PRINT=LPRINTstate-
ment
in
the
program
(see
Chapter
8
for
details!.
ALL
PRINT
statements
following
this
statement
will
act
as
if
they
were
LPRINT
statements.
PRINT=PRINT
will reset
this
condition
to
its
normal
state.
This
structure
may
also be
included
in
a
program
in
an
IF
statement
allowing a
choice
of
output
at
the
time
the
program
is
used (see
Relationship
of
Two
Variables
example
in
Chapter
9).
You
may
also list
your
programs
on
the
Printer
with
the
LUST
command
(see
Chapter
8
for
details).
If used
without
line
numbers,
LUST
will list all
program
lines
currently
in
memory
in
their
numerical
order
by line
number.
A line
number
range
may
also be
given
with
LUST
to
limit
the
lines
which
will be
printed.
When
program
lines are
longer
than
24
characters,
two
or
more
lines
may
be used
to
print
one
program
line.
The
second
and
succeeding lines will be
indented
four
characters
so
that
the
line
number
will clearly
identify
each
separate
program
line.
86

Table of Contents

Related product manuals