EasyManua.ls Logo

HP 48GII

HP 48GII
653 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RPL Programming Examples 2-37
Trace Mode
This section contains two programs,
α
ENTER and ßENTER, which together provide “trace mode” for the
hp49g+/hp48gII using an external printer. To turn on “trace mode,” set flag 63 and activate User mode. To
turn off “trace mode,” clear flag
63 or turn off User mode.
Techniques used in
α
ENTER and ßENTER
! Vectored ENTER. Setting flag 63 and activating User mode turns on vectored ENTER. When vectored
ENTER is turned on and variable
α
ENTER exists, the command-line text is put on the stack as a string and
α
ENTER is evaluated. Then, if variable ßENTER exists, the command that triggered the command-line
processing is put on the stack as a string and ßENTER is evaluated.
α
ENTER program listing
Checksum: # 127d
Bytes: 25.5
ßENTER program listing
Program: Comments:
"!
2K3!4KL2!
2KD:O!
Prints the command that caused the
processing, then drops it and prints
the stack in compact form.
1!
`O ßENTER K
Stores the program in ßENTER.
(Press ~‚B to type ß. You
must use this name.)
Checksum: # 31902d
Bytes: 28
Program: Comments:
"!
2K3!
LS_#!
Prints the command line text, then
converts the string to an object and
evaluates it.
1!
`O αENTER K
Stores the program in
α
ENTER.
(Press ~‚A to type α. You
must use this name.)

Table of Contents

Other manuals for HP 48GII

Related product manuals