-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Tablets and Mobile Devices Archive
- Storing and Recalling value in RPN on the HP Prime G2

Create an account on the HP Community to personalize your profile and ask a question

05-13-2024 09:51 AM - edited 05-13-2024 11:37 AM
Is there a faster way or program to store a value to a variable on the Prime when in Home RPN mode?
For example to store a value in A you have to:
Enter the value onto the stack then hit Enter, Shift, ( ), Shift, Vars, Cursor-Right, Shift, EEX.
That's 8 key stroke for something that should take one or two key strokes.
Surely there's a better way???
05-14-2024 02:13 AM - edited 05-14-2024 02:18 AM
The best I could find is to write a program that's linked to a user defined key, as follows:
Shift, Program
I called the program STORE
Delete the program template.
While in editing the program: Menu, 4, press the key you want to assign the program to. eg Vars
Complete the program to look as follows:
KEY K_Vars()
BEGIN
RETURN "'A'">;
END;
The sequence after the RETURN is entered as: Space, ALPHA, 0, Shift, ( ), ALPHA, A, cursor one to the right, Shift, EEX, cursor one to the right, ALPHA, +
Then when in Home mode, enter a value, hit Shift, Help, Vars, Enter
This stores the value into A.
So storing now only takes 4 key presses instead of 8.
To use or recall the stored value: ALPHA, A followed by the Enter or the operation. So only 2 keys!
Shame on the developers for not putting Store and Recall on dedicated buttons.
The whole idea is to work faster and to save key strokes.
