Post Reply 
HP-42S (Free42, DM-42) mini-challenge – Wallis Product
07-06-2020, 06:04 PM
Post: #18
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product
Amazing!

I know it is off topic, but here is my attempt in RPL: only stack, no local vars, preserve stack, only 4 levels (just for fun!):

Code:

« 2 SWAP
WHILE DUP REPEAT
 DUP SQ 4 *
 ROT * LASTARG
 DROP 1 - / SWAP 1 -
END
DROP »

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-42S (Free42, DM-42) mini-challenge – Wallis Product - pinkman - 07-06-2020 06:04 PM



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