HP Forums
Merging 41C programs without card reader - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Merging 41C programs without card reader (/thread-5352.html)



Merging 41C programs without card reader - quantalume - 12-17-2015 08:56 PM

Is there any way, similar to the MRG function, to combine two programs into one without the card reader? Using extended memory, perhaps? Any way to delete the "partition" between two programs, accomplishing the same thing? Thanks.


RE: Merging 41C programs without card reader - Dieter - 12-17-2015 09:27 PM

(12-17-2015 08:56 PM)quantalume Wrote:  Is there any way, similar to the MRG function, to combine two programs into one without the card reader? Using extended memory, perhaps? Any way to delete the "partition" between two programs, accomplishing the same thing? Thanks.

MRG cannot be replaced 1:1, there is no way of replacing a part of an existing program by another. But there are ways to join two programs together. Take a look at the GETSUB and GETP commands of the Extended Functions module.

In the 41, two adjacent programs are separated by an END command. Just delete it and the two programs become one. Of course you should take care that both programs do not use the same labels. ;-)

Dieter


RE: Merging 41C programs without card reader - quantalume - 12-18-2015 03:51 AM

(12-17-2015 09:27 PM)Dieter Wrote:  In the 41, two adjacent programs are separated by an END command. Just delete it and the two programs become one.

That was how I'd remembered it, but it didn't work the first time I tried it. Seems to be working now.