HP 35s - multiple program input values?



#5

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.


#6

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.


#7

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?


#8

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  INPUT for HP Prime Eddie W. Shore 3 1,677 11-17-2013, 04:46 PM
Last Post: Michael de Estrada
  HP Prime Tutorial #4 is up (CASE/CHOOSE/INPUT) Eddie W. Shore 1 1,322 11-15-2013, 07:32 AM
Last Post: Davi Ribeiro de Oliveira
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 2,733 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  HP Prime Programming Tutorial #3: WHILE, INPUT, KILL, REPEAT, GETKEY Eddie W. Shore 5 2,442 11-07-2013, 12:25 AM
Last Post: Han
  [HP Prime] Constants Library Values Timothy Roche 24 7,546 11-02-2013, 04:17 PM
Last Post: Les Koller
  Interesting Base Conversions - Porting a 1975 HP 25 Program to the HP 35S Eddie W. Shore 1 1,361 10-13-2013, 07:49 PM
Last Post: BruceH
  minor visual bug in INPUT Han 0 977 10-03-2013, 01:13 PM
Last Post: Han
  Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 1,403 09-20-2013, 09:43 AM
Last Post: Norman Dziedzic
  Input syntax on the Prime Gilles Carpentier 6 2,230 08-23-2013, 04:31 AM
Last Post: Gilles Carpentier
  Input CAS var on HP Prime Mic 2 1,368 08-22-2013, 02:29 PM
Last Post: Mic

Forum Jump: