Casio FX-795P Owner's Manual page 81

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

148
CHAPTER 7
Command Reference
P R | NT
[Output element] [ { : } [Output element] ]*
®
Function:
Displays an output element.
Parameter:
.
Output element:
Output control function (CSR), numeric expression,
character expression.
Explanation:
1) Displays an output element. When an output control function is added, the
element is displayed at the location determined by this function.
2) Values are displayed for numeric expressions and character expressions.
3) When an output element is a numeric expression, a position for sign (+, —) is
placed before the value. However, the + sign is displayed as a blank.
@ Character display
@ Numeral display
Sign Output element
4) When an output element is a numeric expression and the mantissa is more
than 10 digits, the 11th digit is rounded off. When an exponent exists besides
the mantissa, an exponent sign (E) and a two digit exponent are displayed.
5) "," and ";" can be used as punctuation between output elements. When ","
is used, the execution stops (STOP is displayed) after the first output element
is displayed, then the next output element is displayed by pressing the
key. When ";" is used, the next output element is displayed continuously
after the first one.
exe]
6) When no output element is specified (only PRINT is written), the display is
cleared and is not stopped.
7) The display is not stopped during printing in the print mode ( ] J) ).
8) The format for displaying numeric values can be specified by a SET state-
ment.
7-2
Program Commands
Example:
10
PRINT
173
20.
PRINT
*"A="s3 A
30
PRINT
'SIN
30",
SIN
30
4@
PRINT
"*'END'3
_
5@
PRINT
6@
END
Output location specification
Numeric expression
cS
Function:
.
:
Displays an output element from a specified location.
Parameter:
Output location
specification:
Numeric expression. Values below decimal point are dis-
carded.
0 < specification < 24
Explanation:
1) Used in a PRINT statemen
2) The output location of the
to specify the location of an output element.
left end is 0.
02123
4
5
6 7
8 9 1012 12 13 14 15 16 17 18 19 20 21 22 23
Example:
18
FOR
L=@
TO
23
2@
PRINT
CSRL;'A"
;CSR23-L;'*B"
30 NEXT
L
4@ END
*Characters A and B are shifted from the left and right respectively each time
the &¥ key is pressed.
149

Advertisement

Table of Contents
loading

Table of Contents