Post Reply 
Walkthrough of an RPL program for an RPN programmer
08-19-2018, 04:44 PM (This post was last modified: 08-19-2018 04:46 PM by John Keith.)
Post: #12
RE: Walkthrough of an RPL program for an RPN programmer
(08-19-2018 03:29 PM)rprosperi Wrote:  The scope of local variables (here, declared by "-> q m K J") is limited to the program which immediately follows their declaration.

As it seems you'd like to learn RPL, you should definitely read Bill Wickes's book "HP-48 Insights Part I (48G/GX Edition)", which is available as part of the MoHPC Document Set, available here. An incredible value that includes hundreds of manuals, books, brochures, HP publications, etc., the small price also helps to pay for this great website.

I strongly second Bob's recommendations, the Wickes book and of course the Museum USB stick.

Also in reference to the above discussions, this bit of code

Code:

 → a «
  »

is referred to in the HP manuals as a "local variable structure". The description of -> (the right arrow character) in the AUR is worth reading as well.

John
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 - John Keith - 08-19-2018 04:44 PM



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