Examples

 

 

 

 

5.152000X DATE(sets the date to May 15, 2000).

 

 

10.1500X TIME (sets the time to 10:15 am).

EDITMAT

Matrix Editor. Opens the Matrix editor for the specified

 

matrix. Returns to the program when user presses

 

 

EDITMAT matrixname:

 

 

The EDITMAT command can also be used to create

 

matrices.

 

 

 

1.

Press

CMDS

 

 

2.

Press

M 1, and then press

.

 

 

The Matrix catalog opens with M1 available for

 

 

editing.

 

 

 

EDITMAT matrixname is a shortcut to opening the

 

 

matrix editor with matrixname.

 

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 name,

 

where r is row number, c is column number, and p is key-

 

plane number. The key-planes numbers are: 1 for

 

unshifted; 2 for shifted; 4 for alpha-shifted; and 5 for both

 

alpha-shifted and shifted.

 

 

 

GETKEY name:

 

INPUT

Creates an input form with a title bar and one field. The

 

field has a label and a default value. There is text help at

 

the bottom of the form. The user enters a value and

 

presses the

menu key. The value that the user enters

 

is stored in the variable name. The title, label, and help

 

items are text strings and need to be enclosed in double

 

quotes.

 

 

 

Use

CHARS to type the quote marks "

".

 

 

INPUT name;title,label;help;default:

Programming

16-27

Page 237
Image 237
HP 39g+ Graphing manual Editmat matrixname, Getkey name, Input nametitle,labelhelpdefault