Keys:
Display:
Description:
5
5_
5.0000
HI GTO|A
Moves program
counter to label A.
a
(hold)
(release)
R01
LBL fl
5.0000
a
(hold)
(release)
R02
x2
25.0000
Squares input.
a
(hold)
(release)
R03
if
3.1416
Value of ir.
a
(hold)
(release)
R04
x
78.5398
25ir.
a
(hold)
(release)
005
RTN
78.5398
End of program. Result
is correct.
Data Input and Output
The calculator's variables are used to store data input, intermediate
results, and final results. (Variables, as explained in chapter 3, are
identified by a letter from A through Z, but the variables' names have
nothing to do with program labels.)
Entering Data Into Variables (INPUT)
The INPUT instruction (Hi input | variable) stops a running program
and displays a prompt for the given variable. This display includes
the existing value for the variable, such as
Variable's name
1
Prompt for information
INPUT
R70.0000
The current value in the variable
5: Simple Programming
77