Post Reply 
HP 48G - Edit List
08-23-2021, 01:13 AM
Post: #5
RE: HP 48G - Edit List
For example, your program could be modified by storing the size of the list in a local variable rather than using DEPTH, since we know that the input list will be transformed into a list with 1 fewer object:

Code:

\<<  OVER SIZE \-> list object size
  \<< list DUP object
POS SWAP OBJ\-> 1 +
ROLL ROLLD DROP
SWAP size 1 - \->LIST
  \>>
\>>
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)