Post Reply 
hp 28s - creating nested lists
02-19-2015, 12:13 AM
Post: #17
RE: hp 28s - creating nested lists
Let me see if I understand this.
Code:
# C53Bh
SYSEVAL # 3ACB5h
SYSEVAL # 3EFFh
SYSEVAL

equivalent to:
Code:
\<< SWAP OVER 1. SWAP START SWAP OVER NEXT DROP \>>

equivalent to:
Code:
\<< \-> N \<< 1. N START DUP NEXT DROP N \>> \>>

equivalent to:
Code:
\<<
  -> n
  \<<
    1 2 n
    FOR i
      DUPN i DUP
    STEP
    n - DUP 0 <
    { NEG DUPN }
    { DROPN }
    IFTE
    n
  \>>
\>>

Correct?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
hp 28s - creating nested lists - mbrethen - 02-16-2015, 04:33 PM
RE: hp 28s - creating nested lists - mbrethen - 02-19-2015 12:13 AM



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