HP 48gII Advanced User's Reference Manual page 62

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

Example:
If you execute this program segment
« "ABC?" PROMPT »
the display looks like this:
Example:
The following program, TPROMPT, prompts you for the dimensions of a torus, then calls program
TORSA (from page 1-28) to calculate its surface area. You don't have to enter data on the stack prior to program
execution.
Program:
«
"ENTER a, b IN ORDER:"
PROMPT
TORSA
»
`OTPROMPT ‰
Execute TPROMPT to calculate the volume of a torus with inner radius a =8 and outer radius b =10. Execute
TPROMPT. The program prompts you for data.
@·J %TPROM%
Enter the inner and outer radii. After you press `, the prompt message is cleared from the status area.
8 `10
1-36 RPL Programming
Comments:
Puts the prompting string on the stack.
Displays the string in the status area,
halts program execution, and returns
calculator control to the keyboard.
Executes TORSA using the just-entered
stack arguments.
Stores the program in TPROMPT.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents