Post Reply 
HP 48G - Edit List
08-23-2021, 12:02 AM
Post: #3
RE: HP 48G - Edit List
(08-22-2021 03:02 PM)John Keith Wrote:  With the list on level 2 and the position on level 1:

Code:

\<< OVER SWAP POS DUP2 1 SWAP 1 - SUB ROT ROT 1 + OVER SIZE SUB +
\>>

Thanks, John! The second program works just fine for my purposes. Before writing my code, I considered removing the objects surrounding the object I wanted to remove and reassemble them in a new list; I thought it would be too complicated. In my effort to come up with a simple solution, I chose to use local variables. I understand your resistance to use DEPTH. I'm pretty sure that there are code samples in the AUR manual that use it. I wonder why a command was never written that edits a list in the way I want.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 48G - Edit List - MNH - 08-22-2021, 03:40 AM
RE: HP 48G - Edit List - John Keith - 08-22-2021, 03:02 PM
RE: HP 48G - Edit List - MNH - 08-23-2021 12:02 AM
RE: HP 48G - Edit List - John Keith - 08-23-2021, 12:52 AM
RE: HP 48G - Edit List - DavidM - 08-23-2021, 03:13 AM
RE: HP 48G - Edit List - John Keith - 08-23-2021, 09:41 PM
RE: HP 48G - Edit List - John Keith - 08-23-2021, 01:13 AM



User(s) browsing this thread: 1 Guest(s)