The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP-28S Mathematical Applications manual errata
Message #1 Posted by Tom Sauntry on 25 July 2012, 8:40 a.m.

I have been working thru the programs in the HP-28S Mathematical Applications manual. In the polynomials section there is a program (PADD) which adds polynomials. I keep getting a "FOR Error: Bad Argument Type" error. I cannot find any input errors from typing in the program. However, in looking at the line statement containing the FOR statement

1 g FOR n n s

I cannot see where the local variable n is defined. Local variables g and s are defined , but not n. This program is on pages 31 and 32 of the manual, available on the HP Museum DVD set. I am using my HP28S calculator for the programs.

Has anyone tried this program and found a problem/solution? Is there an errata sheet anywhere for this manual?

      
Re: HP-28S Mathematical Applications manual errata
Message #2 Posted by Gilles Carpentier on 25 July 2012, 9:13 a.m.,
in response to message #1 by Tom Sauntry

Hi Tom

There is no need to declare a variable use as a counter in RPL.

So the error must be elsewhere. I suspect the g variable is not correct (is not number for example)

            
Re: HP-28S Mathematical Applications manual errata
Message #3 Posted by Tom Sauntry on 25 July 2012, 9:54 a.m.,
in response to message #2 by Gilles Carpentier

After reading more from Insights and Programming, I see that n is an index and you are correct. I found that I had omitted a space between local variables g and s, creating local variable gs. Thanks for the insight.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall