EasyManuals Logo

HP 39G Master Guide

HP 39G
331 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 #241 background imageLoading...
Page #241 background image
241
This value must be a valid one. Assigning an initial value outside the range of
the menu may crash the program. If the user presses CANCL then a value
of zero is returned but the program will still continue to execute from that
point unless you include code to terminate it.
DISP <line number>;<expression>
This command breaks the display up
into 7 lines and allows output to them.
Using the DISP command on a line
wipes that entire line to the right hand end of
the screen before display. This means that it is
not possible to use DISP to ‘edit’ material already present. The DISPXY
command should be used for this purpose.
DISPXY <xpos>;<ypos>;<font>;<expression>
This command displays the text/object/result contained in <expression> at
the screen position specified using the font specified. An extensive example
can be found in the chapter “Programming the hp 39g+” on page 226.
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.
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
unshifted. It can’t readily be used for games because execution pauses
instead of continuing in the background.

Table of Contents

Other manuals for HP 39G

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 39G and is the answer not in the manual?

HP 39G Specifications

General IconGeneral
BrandHP
Model39G
CategoryCalculator
LanguageEnglish

Related product manuals