HP 35s - multiple program input values?



#2

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.


#3

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.


#4

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?


#5

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 522 11-17-2013, 04:46 PM
Last Post: Michael de Estrada
  HP Prime Tutorial #4 is up (CASE/CHOOSE/INPUT) Eddie W. Shore 1 448 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 774 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 795 11-07-2013, 12:25 AM
Last Post: Han
  [HP Prime] Constants Library Values Timothy Roche 24 2,210 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 424 10-13-2013, 07:49 PM
Last Post: BruceH
  minor visual bug in INPUT Han 0 284 10-03-2013, 01:13 PM
Last Post: Han
  Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 407 09-20-2013, 09:43 AM
Last Post: Norman Dziedzic
  Input syntax on the Prime Gilles Carpentier 6 707 08-23-2013, 04:31 AM
Last Post: Gilles Carpentier
  Input CAS var on HP Prime Mic 2 394 08-22-2013, 02:29 PM
Last Post: Mic

Forum Jump: