Indirect addressing - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Indirect addressing (/thread-262.html) |
Indirect addressing - veeblefester - 12-28-2013 08:37 AM In writing code for the HP Prime, how does one do indirect addressing? An example, I have a variable named TEST1. TEST1 contains the string “BS10” that my code has constructed and stored there. “BS10” is a pointer to global variable BS10. Note that userin contains data acquired during an INPUT(); line. I need a line(s) something like one of the following because none of these work: userin▶TEST1;//need the contents of userin stored in the variable BS10 userin▶’TEST1’;//remember that TEST1 contains the pointer BS10 userin▶(TEST1); userin▶(‘TEST1’); Many thanks in advance for any help. RE: Indirect addressing - BruceH - 12-29-2013 12:37 AM Code:
RE: Indirect addressing - Han - 12-29-2013 02:19 AM Would the following be useful for your needs? Code:
RE: Indirect addressing - veeblefester - 12-31-2013 12:49 PM Thanks for responding. Sorry I did not get back to you sooner. Holidays and family activities. I apologize that my question was not clear. I am going to construct a more succinct question. Breaking a string down into its parts and evaluating them cannot bring about indirect addressing. Hope the new year is a good one for you. |