Storing and retrieving variables in programs

The hp 39g+ has both Home variables and Aplet variables. Home variables are used for real numbers, complex numbers, graphics, lists, and matrices. Home variables keep the same values in HOME and in aplets.

Aplet variables are those whose values depend on the current aplet. The aplet variables are used in programming to emulate the definitions and settings you make when working with aplets interactively.

You use the Variable menu ( ) to retrieve either Home variables or aplet variables. See “The VARS menu” on page 12-4.Not all variables are available in every aplet. S1fit–S5fit, for example, are only available in the Statistics aplet. Under each variable name is a list of the aplets where the variable can be used.

Plot-view variables

Area

Function

Axes

All Aplets

Contains the last value found by the Area function in Plot- FCN menu.

Turns axes on or off.

From Plot Setup, check (or uncheck) AXES.

or

In a program, type:

Connect

Function

Parametric

Polar

Solve

Statistics

1X Axes—to turn axes on (default).

0X Axes—to turn axes off.

Draws lines between successively plotted points.

From Plot Setup, check (or uncheck) CONNECT.

or

In a program, type

1X Connect—to connect plotted points (default, except in Statistics where the default is off).

0X Connect—not to connect plotted points.

16-30

Programming