242
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 INPUT N;……..;N instead. If you do this then you
will need to store and initial reasonable value into N before the first use of the
INPUT command.
MSGBOX <expression>
This puts up a box with the
text/expression you specify. If you want
a newline character 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 the variable.
WAIT <duration>
This command pauses execution for the specified number of seconds.
Calculator Tip
This list does not cover anywhere near the full range of
commands, but it does cover enough that a competent
programmer will be able to work out the rest
independently. It is also enough that an enthusiastic
amateur will be able to accomplish the more common
tasks required in programming the hp 39g+.