HP (Hewlett-Packard) 32SII Calculator User Manual


 
12–8 Simple Programming
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
A different checksum means the program was not entered exactly as given
here.
Example:
Entering a Program with an Equation.
The following program calculates the area of a circle using an equation,
rather than using RPN operation like the previous program.
Keys: Display: Description:
z
d
z
U

!
Activates Program–entry mode;
sets pointer to top of memory.
z
E



Labels this program routine E (for
"equation").
H
R

!

Stores radius in variable R.
{
G
{
M
y
K
R
0
2

πº:
Selects Equation–entry mode;
enters the equation; returns to
Program–entry mode.
{
/
)
Checksum and length of
equation.
{

!
Ends the program.
z
X
{

}

)
Displays label E and the length of
the program in bytes.
{
/
)
Cancels program entry.
Running a Program
To run or execute a program, program entry cannot be active (no
program–line numbers displayed; PRGM off). Pressing
will cancel
Program–entry mode.