21-28
Programming
Examples
5.152000
X
DATE(
sets the date to May 15, 2000).
10.1500
X
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 an alternative to opening the
matrix editor with
matrixname
. It can be used in a
program to enter a matrix.
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
:
hp40g+.book Page 28 Friday, December 9, 2005 1:03 AM
Содержание 40gs
Страница 10: ...hp40g book Page x Friday December 9 2005 1 03 AM ...
Страница 64: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 80: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 86: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 100: ...hp40g book Page 4 Friday December 9 2005 1 03 AM ...
Страница 126: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 182: ...hp40g book Page 28 Friday December 9 2005 1 03 AM ...
Страница 274: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 303: ...Step by Step Examples 16 29 hp40g book Page 29 Friday December 9 2005 1 03 AM ...
Страница 304: ...hp40g book Page 30 Friday December 9 2005 1 03 AM ...
Страница 314: ...hp40g book Page 10 Friday December 9 2005 1 03 AM ...
Страница 330: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...
Страница 392: ...hp40g book Page 44 Friday December 9 2005 1 03 AM ...
Страница 420: ...hp40g book Page 22 Friday December 9 2005 1 03 AM ...
Страница 428: ...hp40g book Page 8 Friday December 9 2005 1 03 AM ...
Страница 444: ...hp40g book Page 16 Friday December 9 2005 1 03 AM ...