Sharp PC-1403 Operation Manual page 167

Hide thumbs Also See for PC-1403:
Table of Contents

Advertisement

161
*
1
Mi
The PRINT
verb is
used to display
prompting
information,
results
of
calculations,
etc.
The first form of the PRINT statement displays a single
value.
If
the
expression is
numeric, the
value
is printed
at
the far
right of
the display. If it is
a string
expression,
the display is
made
starting
at
the far
left.
In
format
2,
the
display unit is divided
into groups
of
12
columns.
The
values
are
displayed,
in
sequence,
from the first
specified
value.
In
this case
too,
within a range
of 12
columns, the
value of
an
expression is displayed from the
right
end of
the
display
and
characters are
displ
a yed from
the
left
side.
The
number
of the values (items)
specified in
format 2
must
be
within
2.
• If
the
specified
value exceeds 12 columns,
the following
is
performed.
1)
When the
numeric value exceeds 12 digits, the least
significant
digit(s)
is
truncated.
2)
When
the characters
exceed 12
columns,
only
the
first 12 characters (from
the
left) are
displayed.
The PRINT verb
is used to print information
on
the display or
on
the printer.
Where:
print
list
is:
print
exp
or:
print
expr; print
list
and:
print
expr
is:
expression
or:
USING
clause;
expression
The USING
clause
is
described separately
under
USING.
Abbreviations: P.,
PR.,
PAI.,
PAIN.
See
also:
LPRINT,
USING,
WAIT
1 PRINT
print expr
2
PRINT
print expr, print
expr
3
PRINT
print
list
4
PRINT=
LPRINT
5
PRINT=
PRINT
Verbs
PRINT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents