5.

Choose whether to place the variable name or the

 

 

variable value on the command line.

 

 

Press

9$/8(ato indicate that you want the variable’s

 

 

 

contents to appear on the command line.

 

 

Press

1$0(a￿to indicate that you want the variable’s

 

 

 

name to appear on the command line.

 

6.

Press 2.ato place the value or name on the command

 

 

line2.a. The selected object appears on the command line.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: The VARS menu can also be used to enter the

 

 

names or values of variables into programs.

Example

This example demonstrates how to use the VARS menu to add

 

the contents of two list variables, and to store the result in

 

another list variable.

 

1.

Display the List catalog.

 

 

>6+,)7@LIST

 

 

 

 

 

 

to(',7aselect L1

 

 

 

 

 

2.

Enter the data for L1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

88

90

89 2.a

 

 

 

 

65 2.a70 2.a

 

 

 

 

 

 

 

 

3.

Return to the List Catalog to create L2.

 

 

>6+,)7@LIST

 

 

 

 

 

 

 

*e,(',7a￿to select L2

 

 

 

 

 

 

 

 

 

 

 

Variables and memory management

11-5

Page 167
Image 167
HP 40G manual Names or values of variables into programs, +,7@LIST