HP (Hewlett-Packard) HP 33s Calculator User Manual


 
Simple Programming
12–21
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
To clear all programs from memory:
1. Press
¹
£
to display program lines (PRGM annunciator on).
2. Press
¹
¡
{

} to clear program memory.
3. The message


prompts you for confirmation. Press {
}.
4. Press
¹
£
to cancel program entry.
Clearing all of memory (
¹
¡
{

}) also clears all programs.
The Checksum
The
checksum is a unique hexadecimal value given to each program label and its
associated lines (until the next label). This number is useful for comparison with a
known checksum for an existing program that you have keyed into program
memory. If the known checksum and the one shown by your calculator are the
same, then you have correctly entered all the lines of the program. To see your
checksum:
1.
Press
¹
u
{

} for the catalog of program labels.
2. Display the appropriate label by using the cursor keys, if necessary.
3. Press and hold
º
Î
to display

checksum and

length.
For example, to see the checksum for the current program (the "cylinder"
program):
Keys:
(In RPN mode)
Display: Description:
¹
u
{

}


Displays label C, which
takes 67 bytes.
º
Î
(hold)


Checksum and length.
If your checksum does
not match this number, then you have not entered this
program correctly.
You will see that all of the application programs provided in chapters 15 through
17 include checksum values with each labeled routine so that you can verify the
accuracy of your program entry.
In addition, each equation in a program has a checksum. See "To enter an
equation in a program line" earlier in this chapter.