beautypg.com

HP 38g Graphing Calculator User Manual

Page 175

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

INPUT

MSGBOX

Suspends program execution, prompt the user with

title, label,

and

help,

initializes the command line with

default,

and saves

the resulting input in

name.

Use ■ [CHARS] to type the quote

marks"

INPUT n a m e ; t l t i e , l a b e l / h e l p ; d e f a u l t

Exaxt^le

INPUT R; "Circular Area";

"Radius";
"Enter Number";l:

^CmCULAR AREA

RADIUS

ENTER NUMDER

iECHBiMm

Suspends program execution and displays a message box

containing

textjtem.

A textjtem 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 t e x t _ l t e m :

Exaii^le

1{(ST0^}}A;

MSGBOX "AREA IS: ";-tr*A"2:

AREA IS!3.14159

265359

mm

Programming 8-23