456
Programming
To activate persistent user mode, press
SWSW
. Notice that
U
appears in the
title bar. The user keyboard will now remain active
until you press
SW
again.
If you are in user mode and press a key that hasn’t been
re-assigned, the key’s standard operation is performed.
Re-assigning
keys
Suppose you want to
assign a commonly used
function—such as
ALOG—to its own key on
the keyboard. Simply
create a new program
that mimics the syntax in
the image at the right.
The first line of the program specifies the key to be
reassigned using its internal name. (The names of all the
keys are given in “Key names” on page 456. They are
case-sensitive.)
On line 3, enter the text you want produced when the key
being re-assigned is pressed. This text must be enclosed in
quote marks.
The next time you want to insert
ALOG
at the position of
your cursor, you just press
SWe
.
You can enter any string you like in the RETURN line of
your program. For example, if you enter “M4”, matrix M4
will be returned when you press the re-assigned key. You
can even get the program to return user-defined functions
as well as system functions, and user-defined variables as
well as system variables.
You can also re-assign a shifted key combination. So, for
example,
ASn
could be re-assigned to produce
SLOPE(F1(X),3)
rather than the lowercase
t
. Then if
ASn
is entered in Home view and
E
pressed, the gradient at X = 3 of whatever function is
currently defined as F1(X) in the Function app would be
returned.
Key names
The first line of a program that re-assigns a key must
specify the key to be reassigned using its internal name.
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...