EasyManuals Logo

HP 40gs User Manual

HP 40gs
444 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
Page #377 background imageLoading...
Page #377 background image
Programming 21-29
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 be a variable such as
A…Z, θ, L1…L9, C1…C9 or Z1…Z9..
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.
hp40g+.book Page 29 Friday, December 9, 2005 12:27 AM

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 40gs and is the answer not in the manual?

HP 40gs Specifications

General IconGeneral
BrandHP
Model40gs
CategoryCalculator
LanguageEnglish

Related product manuals