HP Prime Graphing NW280AAABA manual Re-assigning keys

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 523
Image 523

Re-assigning keys

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 SWagain.

If you are in user mode and press a key that hasn’t been re-assigned, the key’s standard operation is performed.

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 518. 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 “Newton”, that text 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, ASncould be re-assigned to produce SLOPE(F1(X),3) rather than the lowercase t. Then if ASnis 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.

Programming in HP PPL

517

Page 523
Image 523
HP Prime Graphing NW280AAABA manual Re-assigning keys