HP Prime Graphing NW280AAABA manual Working with Home variables, AaE

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 430
Image 430

Working with Home variables

you evaluate that result (using the EVAL command), the CAS will now return {2,4,6}.

User variables are explicitly created by the user. You create user variables either in a program or by assignment in Home view. User variables created in a program are either declared as local or exported as global. User variables created by assignment or exported from a program will show up in the Vars User menu. Local variables exist only within their own program.

The following sections describe the various processes associated with variables, such as creating them, storing objects in them, and retrieving their contents. The rest of the chapter contains tables that list all the Home and app variable names.

Example 1: Assign π2 to the Home variable A and then calculate 5*A.

1.Press Hto display Home view.

2.Assign π2 to A:

SzjAaE

The result is written to history.

3.Multiply A by 5:

5s AaE

This example illustrates the process for storing

and using any Home variable, not just the Real Home variables A–Z. It is important to match the object you want to store to the correct type of Home variable. See “Home variables” on page 428 for details.

424

Variables

Page 430
Image 430
HP Prime Graphing NW280AAABA manual Working with Home variables, AaE, Result is written to history Multiply a by