Post Reply 
HP 48 Series -- interseries compatibility?
11-27-2023, 11:17 AM
Post: #26
RE: HP 48 Series -- interseries compatibility?
(11-26-2023 11:44 PM)johnb Wrote:  ...I can go to LIBRARY and then to GX and use the routines directly, but after I (attempt to?) attach it to HOME, and then load other routines that use these functions, the other routines seem to be tripping all over themselves... and they worked correctly with the Meyers functions.

Are the "other routines" you refer to being restored onto the calculator as binary objects? There could be a subtlety here that is creating this confusing scenario.

First, bear in mind that numbers, programs, lists, arrays, etc. are always stored as compiled objects on your calculator (unless you specifically enclose the commands in "..." quotes). The calculator goes out of its way to hide this fact from you. It allows you to edit a program containing the command DOSUBS as if it were simply a string of characters. But as soon as you are done editing, the calculator compiles that reference into one of four things: a local variable name, a global variable name, a built-in command, or a library reference. Which option it chooses depends on the context (is a local variable already defined with that name?), the model (what built-in commands are available?), and the configuration (is there an attached library with a command of that name?).

If the programs in question contain something like DOSUBS as a global variable reference, then they will need to be re-edited and saved after installing Werner's library in order to convert the reference to a library call instead.

This is, admittedly, a subtle and highly-specific issue that would only come up when attempting to move RPL programs from one platform to another when restoring from binary objects. But I believe that may be exactly what you are doing here.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 48 Series -- interseries compatibility? - DavidM - 11-27-2023 11:17 AM



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