HP 39gs Master Manual page 296

Graphing calculator
Hide thumbs Also See for 39gs:
Table of Contents

Advertisement

DISPTIME
This command pops up a box displaying the calculator's internal time
and date. These can be set by storing values to the variables
and
Time
. Suppose the current time is 3:46:29 pm on the 1
st
of December,
Date
1998 then you would store 15.4629 to
and 12.011998 to
Time
Date
as shown in the screen shot right. Having the correct time and date set
has no effect on the operation of the calculator!
GETKEY <variable>
This pauses the execution until the user presses a key and stores the code for the key into the variable for later
use. See the manual for how the value of the key changes according to whether it is pressed with or without
the
or
keys. A key code of 53.1 would mean row 5, column 3 and un-shifted. It can't readily
SHIFT
ALPHA
be used for games because execution pauses instead of continuing in the background.
INPUT <variable>;<title>;<prompt>;<message>;<default value>
This command puts up an input view which can be used to obtain
responses from the user. The degree of control over appearance is quite
high as can be seen in the example.
If you want the default value to be whatever the user last input then use
instead. If you do this then you should consider
INPUT N; ........; N
storing an initial reasonable value into
before the first use of the
N
command.
INPUT
MSGBOX <expression>
This puts up a box with the text/expression you specify.
If you want a new line started within the box then just
enclose a pressing of the
key within the quotes.
ENTER
PROMPT <variable>
This is a short form of the
statement for those
INPUT
that don't require such precision of control over
appearance. The default value is the current value of
the variable. Using the
command you don't have control of
PROMPT
the title and prompts at the bottom of the screen and to the left of the
input field.
296

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

40gs

Table of Contents