EasyManua.ls Logo

Sharp MZ-800 - Page 82

Sharp MZ-800
221 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...
PRINT
USING
Format
PRINT
[<palette
code
>]
USING
“‘<
format
string
>";
<data>
[[3|<data>]
aks
oI
Abbreviated
Format
Explanation
?
USI.
The
PRINT
USING
statement
displays
data
on
the
screen
in
a
specific
format.
This
statement
should
be
entered
using
the
same
format
as
the
PRINT
statement,
except
for
the
specification
of
<
format
string
>.
<
format
string>
consists
of
formatting
characters
which
specify
the
format
in
which
data
is
to
be
displayed,
as
described
in
the
examples
below.
(1)
Formatting
characters
for
numeric
values
(a)
#
A
“‘sharp’’
symbol
is
used
to
represent
each
digit
position.
If
the
number
to
be
displayed
has
fewer
digits
than
positions
specified,
the
number
will
be
right-justified
in
the
field.
10
A=123
20
PRINT
USING
‘“#
###°°A
RUN
123
(b)
.
A
period
indicates
the
position
in
which
the
decimal
point
is
to
be
displayed.
The
number
of
#
signs
to
the
right
of
the
decimal
point
specifies
the
num-
ber
of
decimal
places
to
be
displayed.
10
A=12
20
PRINT
USING
“###.##°CA
RUN
12.00
(©),
A
comma
placed
at
every
third
#
sign
in
the
<format
string>
parameter
indicates
the
position
in
which
a
comma
is
to
be
displayed.
Numbers
will
be
displayed
right-justified.
10
A=6345123
20
PRINT
USING
‘'#,##
4,8
##'CA
RUN
6,345,123
6-25

Other manuals for Sharp MZ-800

Related product manuals