The variable "i – HP 32SII User Manual

Page 63

Advertising
background image

Storing

Data

into

Variables

3–7

File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm

Example:

Keys: Display:

Description:

12

H

A

) 

Stores 12 in variable A.

3



_

Display x.

{

Y

A

) 

Exchange contents of the X–register
and variable A.

{

Y

A

) 

Exchange contents of the X–register
and variable A.

A

12

A

3

T

t

T

t

Z

z

Z

z

Y

y

Y

y

X

3

{

Y



X

12

The Variable "i"

There is a 27th variables that you can access directly–the variable i. The

Œ

key is labeled "i", and it means i whenever the A..Z annunciator is on.
Although it stores numbers as other variables do, i is special in that it can be
used to refer to other variables, including the statistics registers, using the (i)
function. This is a programming technique called indirect addressing that is
covered under "Indirectly Addressing variables and labels" in chapter 13.

Advertising