HP Forums

Full Version: HP 35s - multiple program input values?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.

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?

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).