Sharp MZ-700 Owner's Manual page 42

Hide thumbs Also See for MZ-700:
Table of Contents

Advertisement

(e)*
*
Specifying a pair of asterisks at the beginning of the format string indicates
that asterisks are to be displayed in the positions of leading zeros.
(Example:)
lOA= 1234
20 PRINT USING
"
*
*####" ;
A
RUN
J
**1234
(f)
££
Specifying a pair of pound signs at the beginning of the format string indi-
cates that a pound sign is to be displayed in the position immediately to the
left of the number.
(Example:)
10 A= 123
20 PRINT USING
"££####
"
;
A
RUN
J
L ... H
---'
£123
(g) $$
Specifying a pair of dollar signs at the beginning of the format string indi-
cates that a dollar sign is to be displayed in the position immediately to the
left of the number.
(h)
t t t t
Four exponential operators may be included at the end of a format string
to control display of numbers in exponential format.
(Example:)
10 A= 51123
20 PRINT USING
"##.###
t t t t
"
;
A
RUNJ
' " --'
5.112E+04
In this case, the first number sign is reserved for display of the sign of the
number.
(i) Extended list of operands
A list of variables may be specified following a single PRINT USING state-
ment by separating them from each others with commas or semicolons.
When this is done, the format specified in "format string
"
is used for display
of all resulting
values.
(Example:)
10A=5.3
:
B=6.9 :C=7.123
20 PRINT USING
u##.###
"
;
A,
B, C
RUN
J
L-'
5.300
' " --'
6.900
' " --'
7.123
40 ---------------------------------------------------------------------

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents