HP (Hewlett-Packard) 40G Calculator User Manual


 
15-30 Programming
Storing and retrieving variables in programs
The HP 39G/40G 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 (>9$56@) to retrieve either Home
variables or aplet variables. See “The VARS menu” on
page 11-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
The following aplet variables control the Plot view.
Area
)XQFWLRQ
Contains the last value found by the Area function in Plot-
FCN menu.
Axes
$OO$SOHWV
Turns axes on or off.
From Plot Setup, check (or uncheck)
AXES.
or
In a program, type:
1 & Axes—to turn axes on (default).
0 & Axes—to turn axes off.
Connect
)XQFWLRQ
3DUDPHWULF
3RODU
6ROYH
6WDWLVWLFV
Draws lines between successively plotted points.
From Plot Setup, check (or uncheck)
CONNECT.
or
In a program, type
1 & Connect—to connect plotted points (default,
except in Statistics where the default is off).
0 & Connect—not to connect plotted points.