Sharp OZ-707 Operation Manual - Page 116

pressing

Page 116 highlights

A· Used to indicate that numbers should be displayed in scientific notation. With this notation. the length of the mantissa field is always 2 (1 digit and the sign). without regard to the specified length of the integer field. If the given length of the decimal field is 19 or more digits. the length of the decimal field of the mantissa is also 19 digits. &: Left justified alphanumeric field If a string is shorter than the specified field. spaces appear in the extra portion of the field. If the former is longer than the latter. the extra characters are dropped. (1) USING"###" Prints the sign and 2 integer digits. (2) USING"###." Prints the sign. 2 integer digits. and a decimal point. (3) USING"###.##" Prints the sign. 2 integer digits. a decimal point. and 2 decimal places. (4) USING"###.###." Prints the sign. 4 integer digits. a 3-digit separator (.) and a decimal point. For numerical data. 3-digit separator (,) is counted as a digit. So if you want to print a number ..-1.234.567.... you have to use ten field characters (#). such as USING 5) USING"##.##A" Prints numerical data in exponential form with up to 2 decimal places. Spaces for 1 integer digit and the sign are automatically reserved for the mantissa. and for 2 integer digits. the capital E or D. and the sign for the exponent. Note: A and comma (.) may not be used concurrently. (6) USING"&&&&&&" Prints a string of 6 characters. (7) USING"###&&&&" Prints a string adjacent to a numeric value. (8) USING Format 2 clears formatting. Formatting is also cleared by executing the RUN command, pressing ISHIFT II C.CE I. or turning the power off and then on. EXAMPLE: 10: B=-10:C::10.7703 20: PRINT USING 8::" ; 8 ; "~C::" ;: PRINT USING "###.###"; C Note: The USING command is not valid for manual calculations. It must always be used in the PRINT or LPRINT statement. Supplement: A program which simultaneously outputs numerical and string characters written for other computers should be modified as follows: .. PRINT USING H ; "(m)" PRINT USING H ;: PRINT "(m)" 220 .. 221

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

Used to indicate that numbers should
be
displayed
in
scientific
notation.
With this notation. the length of the mantissa field is always 2
(1
digit and the sign). without regard
to
the specified length of the
integer field. If the given length of the decimal field
is
19
or more
digits. the length of the decimal field of the mantissa
is
also 19
digits.
&:
Left justified alphanumeric field
If a string
is
shorter than the specified field. spaces appear
in
the
extra portion of the field. If the former
is
longer than the latter. the
extra characters are dropped.
(1)
USING"###"
Prints the sign and 2 integer digits.
(2)
USING"###."
Prints the sign. 2 integer digits. and a decimal point.
(3)
USING"###.##"
Prints the sign. 2 integer digits. a decimal point. and 2 decimal
places.
(4)
USING"###.###."
Prints the sign. 4 integer digits. a 3-digit separator
(.)
and a
decimal point.
For numerical data. 3-digit separator
(,)
is
counted
as
a digit. So if
you want to print a number
..
-1.234.567
....
you have to use ten field
characters (#). such
as
USING"#######.###.".
(5)
USING"##.##A"
Prints numerical data
in
exponential form with up to
2
decimal
places.
Spaces for 1 integer digit and the sign are automatically reserved
for the mantissa. and for 2 integer digits. the capital
E
or
D.
and
the sign for the exponent.
Note: A and comma
(.)
may not be used concurrently.
(6)
USING"&&&&&&"
Prints a string of 6 characters.
(7)
USING"###&&&&"
Prints a string adjacent to a numeric value.
(8)
USING
Format 2 clears formatting.
Formatting is also cleared by executing the
RUN
command,
pressing
I
SHIFT
II
C.CE
I.
or turning the power off and then on.
220
..
EXAMPLE:
10: B=-10:C::10.7703
20: PRINT USING
"&&&###" ;
"8::" ; 8 ;
"~C::"
;:
PRINT USING
"###.###";
C
Note:
The USING command
is
not valid for manual calculations. It must
always be used
in
the PRINT or LPRINT statement.
Supplement:
A
program which simultaneously outputs numerical and string
characters written for other computers should
be
modified as follows:
PRINT USING "####.##" ; H ; "(m)"
..
PRINT USING "####.##" ;
H
;:
PRINT "(m)"
221