The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

hp49g ADDTMOD Error
Message #1 Posted by gary king on 26 Apr 2012, 1:54 a.m.

In 11 years of working with this great machine, this is first thing I haven't been able to solve by just reading the manual.

This for the ADDTMOD command from both the soft key and when called within a << >> program.

I am getting an intermittent error condition when, with two integers on the stack, (in RPN Mode, of course) I am getting a generic, "Bad Argument Type".

What makes this even more frustrating, is that it is intermittent. For reasons I still seem to be unable to determine I can still get the command to work and return the correct value, just not all the time.

Any help would be greatly appreciated.

Many Thanks

      
Re: hp49g ADDTMOD Error
Message #2 Posted by Gilles Carpentier on 26 Apr 2012, 4:45 a.m.,
in response to message #1 by gary king

Hi

Are you sure there is not one of the 2 numbers that is a real number instead of an integer ?

If you use a program, insert a HALT just before the ADDTMOD command : if one (or the 2) number have a point ( for exemple 2. and not 2), this will cause a "Bad Argument Type" error.

What is your version of ROM ? There were many bugs in the first releases of the 49G ROM. I have the 1.19-6,but I no longer use my old 49G.

Edited: 26 Apr 2012, 5:02 a.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall