16-28
Programming
Example
INPUT R; "Circular Area";
"Radius";
"Enter Number";1:
MSGBOX
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
CHARS
to type the quote marks " ".
MSGBOX
textitem
:
Example
1
X
A:
MSGBOX "AREA IS: "
π
*A^2:
You can also use the NoteText variable to provide text
arguments. This can be used to insert line breaks. For
example, press
NOTE
and type
AREA
IS
.
The position line
MSGBOX
NoteText " "
π
*A^2:
will display the same message box as the previous
example.
PROMPT
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
:
WAIT
Halts program execution for the specified number of
seconds.
WAIT
seconds
:
Stat-One and Stat-Two commands
The following commands are used for analyzing one-
variable and two-variable statistical data.
Summary of Contents for 39g+
Page 1: ...hp 39g graphing calculator user s guide H Edition 2 Part Number F2224 90001 ...
Page 62: ...2 22 Aplets and their views 5 Display the functions in numeric form ...
Page 78: ......
Page 84: ......
Page 116: ......
Page 178: ......