Little explorations with HP calculators (no Prime)
|
03-16-2018, 08:24 PM
(This post was last modified: 03-16-2018 08:30 PM by Thomas Okken.)
Post: #271
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
(03-16-2018 07:48 PM)pier4r Wrote: Can one pass functions to a RPN program? For example a label that then is used by the program to recall another program. In other words the main program doesn't know a priori which other program to call, this will be defined by the value of an argument. You can pass a label number as a number, and a label name as a string. Store in, say, register 00, then call them with XEQ IND 00. The only limitations are: can't call local alpha labels this way (A-J and a-e), nor global labels with names more than 6 characters long. EDIT: I am assuming you're talking about the HP-41 or 42S here, those obviously being the only RPN calculators you should be using for serious programming. Although some (not all) other RPN models also support indirect calls, like the 19C/29C or 67/97. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)