Example, Msgbox prompt wait – HP 39g Graphing Calculator User Manual
Page 236
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

MSGBOX
PROMPT
WAIT
Displays a message box containing textitem. A text item
consists of any number of expressions and quoted strings of
text. The expressions are evaluated and turned into strings of
text. For example,
"AREA IS; " 2+2 becomes AREA IS: 4. Use |
shift
|C7
m
;«
to type the quote marks "
MSGBOX textitem:
Example
1 ► A:
MSGBOX "AREA IS:
"Jl*A''2 :
You can also use the NoteText variable to provide text
arguments. This can be used to insert line breaks. For
example, press
[
shift
|W07R and type AREA IS
[
enter
|.
The position line
MSGBOX NoteText " " 7r*A"-2 :
will display the same message box as the previous example.
Displays an input box with name as the title, and prompts for
a value for name, name can only be one character in length.
PROMPT name
Halts program execution for the specified number of seconds.
WAIT seconds
15-28
Programming