Data Output Commands; Labeling Output With Tags - HP 48gII Advanced User's Reference Manual

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

Advertisement

Data Output Commands

Key
!°L%OUT%:
%PVIEW%
%TEXT%
%CLLCD%
%DISP%
%FREEZ%
%MSGBO%
%BEEP%

Labeling Output with Tags

To label a result with a tag:
1. Put the output object on the stack.
2. Enter a tag — a string, a quoted name, or a number.
3. Enter the "TAG command (PRG TYPE menu).
« ... object tag TAG ... »
"TAG takes two arguments — an object and a tag — from the stack and return a tagged object.
Example:
The following program TTAG is identical to TINPUT, except that it returns the result as AREA:
value.
Program:
«
"Key in a, b"
{ ":a:
INPUT OBJ
TORSA
"AREA"
TAG
»
`OTTAG ‰
Execute TTAG to calculate the area of a torus of inner radius a = 1.5 and outer radius b =1.85. The answer is
returned as a tagged object.
J %TTAG% 1.5 ˜1.85 `
Command
PVIEW
Displays PICT starting at the given coordinates.
TEXT
Displays the stack display.
CLLCD
Blanks the stack display.
DISP
Displays an object in the specified line.
FREEZE
"Freezes" a specified area of the display until a key press.
MSGBOX
Creates a user-defined message box.
BEEP
Sounds a beep at a specified frequency (in hertz, level 2) and
duration (in seconds, level 1).
:b:" {1 0} V}
Description
Comments:
Enters the tag (a string). Uses
the program result and string
to create the tagged object.
Stores the program in TTAG.
RPL Programming 1-47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents