beautypg.com

HP 38g Graphing Calculator User Manual

Page 174

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

background image

DISP

Displays

te x tjte m

and a value in display

lin e jiu m b e r .

A

textjtem consists of any number of expressions and quoted

strings of text. The expressions are evaluated and turn into
strings. Lines are numbered from the top of the screen, 1 being

the top and 7 being the bottom.

DISP

line_number

;

text_item

Example 3 ; “ A i s " 2 + 2

Result:

A i s 4

(displayed on line

3 )

DISPTIME

Displays the current date and time.

DISPTIME

To set the date and time, simple store the correct settings in

the date and time variables. Use the following formats:

M. DDYYYY

for the date and

H. MMSS

for the time.

Exanrples

5.151995{{STO^}}DATE

(sets the date to May 15,1995).

10.1500{{STO^}}TIME

(sets the time to 10:15 am).

Е01ШАТ

Matrix Editor. Opens the Matrix editor for the specified matrix.

Returns to the program when user presses

{{OK}}.

EDITMAT

matrlxname

FREEZE

This command prevents the display from being updated after

the program runs. This allows you to view the graphics created

by the program. Cancel

FREEZE

by pressing any key.

FREEZE

GETKEY

Waits for a key, then stores the keycode rc.p in

n a m e ,

where r is

row number, c is column number, and p is key-plane number,

the key-planes are designated 1 for unshifted, 2 for shifted, 4 for

alpha-shifted, and 5 for both alpha-shifted and shifted.

GETKEY

name

8-22 Programming