Post Reply 
Walkthrough of an RPL program for an RPN programmer
08-19-2018, 12:34 AM
Post: #3
RE: Walkthrough of an RPL program for an RPN programmer
(08-19-2018 12:17 AM)Albert Chan Wrote:  For example, why CROSS need the << ... >> ?

DOSUBS requires a program as an argument.

DOSUBS applies the immediately preceding program (here, it is << CROSS >>) to the list and parameter 2 just in front.

See p. 3-66 in the 50g AUR for an explanation of DOSUBS, a remarkably powerful command, though not always intuitive, even if you can think in RPL.

A bit advanced for teaching RPL, but the brevity of the program indeed shows the power of RPL and lists.

BTW - Bravo Thomas on an epic and well-done post. Alas, it's probably wasted for Max, as he averts his eyes when he sees RPL, but obviously useful for other folks (me included).

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Walkthrough of an RPL program for an RPN programmer - rprosperi - 08-19-2018 12:34 AM



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