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
Time
and
Date
. Suppose the current time is 3:46:29 pm on the 1
st
of December,
1998 then you would store 15.4629 to
Time
and 12.011998 to
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
SHIFT
or
ALPHA
keys. A key code of 53.1 would mean row 5, column 3 and un-shifted. It can’t readily
be used for games because execution pauses instead of continuing in the background.
N
before the first use of the
the variable. Using the
PROMPT
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
If you want the default value to be whatever the user last input then use
INPUT N; ……..; N
instead. If you do this then you should consider
storing an initial reasonable value into
command you don’t have control of
the title and prompts at the bottom of the screen and to the left of the
high as can be seen in the example.
INPUT
command.
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
ENTER
key within the quotes.
PROMPT <variable>
This is a short form of the
INPUT
statement for those
that don’t require such precision of control over
appearance. The default value is the current value of
input field.
296