RPL Programming 1-47
Data Output Commands
Key Command Description
!°L%OUT%:
%PVIEW%
PVIEW Dis
la
s PICT startin
at the
iven coordinates.
%TEXT%
TEXT Displays the stack display.
%CLLCD%
CLLCD Blanks the stack display.
%DISP%
DISP Displays an object in the specified line.
%FREEZ%
FREEZE “Freezes” a specified area of the display until a key press.
%MSGBO%
MSGBOX Creates a user-defined message box.
%BEEP%
BEEP Sounds a beep at a specified frequency (in hertz, level 2) and
duration (in seconds, level 1).
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!#:B>!…!1!
"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 BK<Bl
value.
Program: Comments:
"!
Ir)@!tG!$F!%I!
f!Il$l !l%lI!f3!8h!Nh!
6=25:!LS_#!
:LKDB!
IBK<BI!
#:B>!
!
1!
Enters the tag (a string). Uses
the program result and string
to create the tagged object.
`OTTAG ‰
Stores the program in TTAG.
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 `