HP 49g+ User Manual page 684

Graphing calculator
Hide thumbs Also See for 49g+:
Table of Contents

Advertisement

Press @@@OK@@@ to cancel message box output. The stack will now look like this:
Including input and output in a message box
We could modify the program so that not only the output, but also the input, is
included in a message box.
program will look like:
"Enter V, T and n: " {"
«
INPUT OBJ→ → V T n
"
" + '(8.31451_J/(K*mol))*(n*T/V)' EVAL "p" →TAG →STR +
+ + MSGBOX » »
Notice that you need to add the following piece of code after each of the
variable names V, T, and n, within the sub-program:
To get this piece of code typed in the first time use:
„°@) T YPE@ @ STR ‚Õ ‚ë ™+
Because the functions for the TYPE menu remain available in the soft menu
keys, for the second and third occurrences of the piece of code (→STR "
+ ) within the sub-program (i.e., after variables T and n, respectively), all you
need to use is:
@ STR ‚Õ ‚ë ™+
For the case of program @@@p@@@, the modified
:V:
:T:
V →STR "
" + T →STR "
«
→STR "
" +
:n: " {2 0} V }
" +
n →STR
"
Page 21-39

Advertisement

Table of Contents
loading

Table of Contents