HP (Hewlett-Packard) 32SII Calculator User Manual


 
Simple Programming 12–19
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
Editing Program
You can modify a program in program memory by inserting, deleting, and
editing program lines. If a program line contains an equation, you can edit
the equation—if any other program line requires even a minor change, you
must delete the old line and insert a new one.
To delete a program line:
1. Select the relevant program or routine (
z
U
label), activate
program entry (
z
d
), and press
z
or
z
) to
locate the program line that must be changed. Hold the arrow key down to
continue scrolling. (If you know the line number you want, pressing
z
U
label nn moves the program pointer there.)
2. Delete the line you want to change—if it contains an equation, press
z
b
{

}; otherwise, press
a
. The pointer then moves to the
preceding line. (If you are deleting more than one consecutive program
line, start with the last line in the group.)
3. Key in the new instruction, if any. This replaces the one you deleted.
4. Exit program entry
or
d
).
To insert a program line:
1. Locate and display the program line that is before the spot where you
would like to insert a line.
2. Key in the new instruction; it is inserted after the currently displayed line.
For example, if you wanted to insert a new line between lines A04 and A05 of
a program, you would first display line A04, then key in the instruction or
instructions. Subsequent program lines, starting with the original line A05, are
moved down and renumbered accordingly.
To edit an equation in a program line:
1. Locate and display the program line containing the equation.
2. Press
a
. This turns on the "
¾
" editing cursor, but does riot delete
anything in the equation.
3. Press
a
as required to delete the function or number you want to change,