Getting the most from the stack.
|
05-16-2021, 06:05 AM
Post: #2
|
|||
|
|||
RE: Getting the most from the stack.
(05-15-2021 08:44 PM)matalog Wrote: [...] Not automatically, but this code allows the stack to be saved to a note and recalled using a user defined key: Code:
I haven't refined it, but it's enough to show the concept. Set up desired stack levels in rpn mode, then to avoid disturbing the stack, switch to ALG mode and enter stack2note(n) where n is the desired number of stack levels to save. The program switches to RPN mode and saves the stack levels to Notes("stk"). There must be at least as many stack levels defined as n. This will save a note called "stk" which contains your stack levels. (Shift Notes will allow you to examine the note - it contains the stack levels sequentially) To recall the stack, Shift User 5 will read the contents of Notes("stk") to the RPN command line. Pressing Enter will restore the stack levels. You may be able to adapt this method to suit your needs? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Getting the most from the stack. - matalog - 05-15-2021, 08:44 PM
RE: Getting the most from the stack. - Stevetuc - 05-16-2021 06:05 AM
RE: Getting the most from the stack. - matalog - 05-16-2021, 10:16 PM
RE: Getting the most from the stack. - tcab - 05-16-2021, 10:50 PM
RE: Getting the most from the stack. - Stevetuc - 05-17-2021, 08:06 AM
RE: Getting the most from the stack. - matalog - 05-17-2021, 09:01 PM
RE: Getting the most from the stack. - Stevetuc - 05-17-2021, 09:18 PM
RE: Getting the most from the stack. - Liamtoh Resu - 05-21-2021, 06:32 PM
RE: Getting the most from the stack. - Stevetuc - 05-21-2021, 06:55 PM
|
User(s) browsing this thread: