HP Forums
HP 35s - multiple program input values? - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP 35s - multiple program input values? (/thread-242872.html)



HP 35s - multiple program input values? - Arno - 04-28-2013

Can someone explain what happened here in line C013?

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=896

The program works with different numbers of variables N. I want to write a similar program, but I am not sure how the author saved the N-entries and how to address them for calculations by the program.
Went through the manual and can't find anything like this.
Any explanation regarding this would be great. If you happen to know a link to a tutorial for this even better.

Thanks!


Edited: 28 Apr 2013, 10:50 p.m.


Re: HP 35s - multiple program input values? - Gerson W. Barbosa - 04-28-2013

Quote:
Can someone explain what happened here in line C013?

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=896


This is just a dumb equation:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv019.cgi?read=170313

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv017.cgi?read=126951 (Message #8)

HTH

Edited: 29 Apr 2013, 12:19 a.m.


Re: HP 35s - multiple program input values? - Arno - 04-29-2013

Ok, I see. So how do you handle the multiple values entered for N? I don't see how he stores them as apparently he doesn't use A-Z variables. How do you address them?


Re: HP 35s - multiple program input values? - Gerson W. Barbosa - 04-29-2013

Indirect addressing. J is used as index. In addition to the A-Z variables, there are numbered registers which are indirectly accessible through (I) and (J), as far as I can remember (I don't have a 35s anymore).