Indirectly Addressing Variables And Labels; The Variable "I - HP -32S Owner's Manual

Rpn scientific calculator
Table of Contents

Advertisement

Indirectly Addressing Variables and Labels
Indirect addressing is a technique used in advanced programming to
specify a variable or label without specifying beforehand exactly which
one. This is determined when the program runs, so it depends on the
intermediate results (or input) of the program.
Indirect addressing uses two different keys: (7) (with Q) andQjD (with
fRTsI).* These keys are active for many functions that take A through
Z as variables or labels.
• i is a variable whose contents can refer to another variable or label.
It holds a number just like any other variable (A through Z).
• GJO is a programming function that directs, *Use the number in i to
determine which variable or label to address.* This is an indirect
address. (A through Z are direct addresses.)
Both [J] and Qjj] are used together to create an indirect address. (See
the examples below.) By itself, i is just another variable. By itself, QjQ
is either undefined (no number in i) or uncontrolled (using whatever
number happens to be left over in i).
The Variable "f"
You can store, recall, and manipulate the contents of i just as you can
the contents of other variables. You can even solve for i and integrate
using i.
Functions That Use I Directly
STO /
INPUT /
DSE /
RCL /
VIEW /
ISG /
STO +,-,x,-=- /
/FN/
RCL +,-,x,-4- /
SOLVE/
' The variable / has nothing to do with QJD or the variable i.
6: Programming Techniques
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents