HP Forums
Free42 Programming Question (HP42S) - 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: Free42 Programming Question (HP42S) (/thread-19227.html)



Free42 Programming Question (HP42S) - cbarberis - 11-29-2022 03:46 PM

Hi, I just started using the Free42 simulator that emulates the HP42S. I also just purchased the DM42 from Swiss Micros and I really enjoy these calculators. Years ago I had the HP41 and I'm very sorry that I sold it a while back...loved that calculator!
My real question here is the following:
I need to use the programming command ATOX ( alpha convert to decimal value and place in x reg) For some reason on both the DM42 and the free 42 I CANNOT find a way to enter such command? If you go to the 'PGM FCN' key during programming you can find the XTOA command but I cannot find the ATOX, is there some kind of key combinations to enter such command? Obviously I cannot enter the alpha "ATOX" as is not interpreted as a command but rather an alpha label. I noticed that there is many other programming commands similar to the above which do not seem to have a key assignment, how do I enter such commands? I would appreciate any help on this.


RE: Free42 Programming Question (HP42S) - Thomas Okken - 11-29-2022 11:28 PM

You can use XEQ "ATOX" to access the ATOX function. When you enter XEQ "name", the calculator will first search for a LBL "name", and if it doesn't find one, it will then look for "name" in the catalog of built-in functions (CATALOG->FCN). If you do this in PRGM mode, it will store ATOX in the program, not XEQ "ATOX".

You can also access all built-in functions by executing them from CATALOG->FCN, but you probably won't usually want to do that, since that menu has 42 rows, so finding functions that aren't close to the ends of the list is a bit cumbersome.


RE: Free42 Programming Question (HP42S) - pinkman - 11-30-2022 06:12 AM

(11-29-2022 11:28 PM)Thomas Okken Wrote:  You can also access all built-in functions by executing them from CATALOG->FCN, but you probably won't usually want to do that, since that menu has 42 rows, so finding functions that aren't close to the ends of the list is a bit cumbersome.

ATOX is on row 4 => 7 keys to hit.