Function Names in Programs

The name of a function that is used in a program line is not necessarily the same as the function's name on its key, in its menu, or in an equation. The name that is used in a program is usually a fuller abbreviation than that which can fit on a key or in a menu. This fuller name appears briefly in the display whenever you execute a function — as long as you hold down the key, the name is displayed.

Example: Entering a Labeled Program.

The following keystrokes delete the previous program for the area of a circle and enter a new one that includes a label and a return instruction. If you make a mistake during entry, press bto delete the current program line, then reenter the line correctly.

Keys:

Display:

(In RPN mode)

 

{e



{c{}



{&}

 !

A

  

!

 º

N

 π

z

 º

–

 !

{Y{}

 

 

/



/

 

/

‡‡

 

Description:

Activates Program–entry mode (PRGM on). Clears all of program memory.

Labels this program routine A (for "area"). Enters the three program lines.

Ends the program. Displays label A and the length of the program in bytes.

Checksum and length of program.

Cancels program entry

(PRGM annunciator off).

A different checksum means the program was not entered exactly as given here.

Simple Programming 12–7

Page 165
Image 165
HP 33s Scientific manual Function Names in Programs, RPN mode, Example Entering a Labeled Program