EasyManua.ls Logo

NEC PC-8201A - Page 117

NEC PC-8201A
219 pages
Print Icon
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...
Chapter
6
f.8/PRINT
SYNTAX:
PRINT
<
Parameter)
FUNCTION:
Used
to
display
output
DESCRIPTION:
The
PRINT
command
is
used
to
output
data
to
the
screen.
It
can
also
be
operated
in
both
the
direct
and
program
modes.
Before
input
of
the
<
parameter
>
for
PRINT
command,
you
may
do
one
of
the
following:
1.
Press
the
f.8
Function
Key
(^^j^^and
f.3).
2.
Input
the
word
"PRINT”
and
then
3.
Input
"?"
as
an
abbreviated
form.
The
displayed
position
for
the
parameter
value
or
character
strings
is
determined
by
the
type
of
punctuation
(colon,
semicolon,
comma,
etc.)
that
is
used.
If
{
parameter
)
is
omitted,
a
line
feed
is
issued
(print
all
blanks
and
skip
a
line).
A
colon
is
used
to
delimit
multi-statements
on
the
same
line:
SAMPLE:
Z=A+B:PRINT
Z
In
any
PRINT
statement,
the
(
parameter
>
that
is
enclosed
in
the
quotation
marks
(known
as
a
character
string)
will
be
automatically
output
to
a
new
line.
A
semicolon
,
inserted
before
a
colon
will
prevent
the
new
line
change:
SAMPLE:
PRINT
"ABC";:PRINT
"DEF"
6-18

Related product manuals