Variables And Programs - HP NW280-200X User Manual

Prime graphing calculator
Table of Contents

Advertisement

Variables and Programs

App
variables
492
The HP Prime has four types of variables: Home variables,
App variables, CAS variables, and User variables. You
can retrieve these variables from the Variable menu (
Home variables are used for real numbers, complex
numbers, graphics, lists, and matrices among other
things. Home variables keep the same value in Home and
in apps.
App variables are those whose values depend on the
current app. The app variables are used in programming
to represent the definitions and settings you make when
working with apps interactively.
CAS variables are exactly the same as Home variables
except that they are used only when doing CAS
operations. They can, however, be called by commands
in Home view. The names for CAS variables mirror those
for Home variables except that they must be lowercase.
User variables are variables created by the user or
exported from a user program. They provide one of
several mechanisms to allow programs to communicate
with the rest of the calculator, and with other programs.
Once a variable has been exported from a program, it
will appear among the User variables in the Variables
menu, next to the program that exported it.
This chapter deals with App variables and User variables.
For information on Home and CAS variables, see chapter
21, "Variables", beginning on page 373.
Not all app variables are used in every app. S1Fit, for
example, is only used in the Statistics 2Var app. However,
most of the variables are used in common by the Function
app, the Parametric app, the Polar app, the Sequence
app, the Solve app, the Statistics 1Var app, the Statistics
2Var app, and others. If a variable is not available in all
of these apps, or is available only in some other apps,
then a list of the apps where the variable can be used
appears under the variable name.
The following sections list the app variables by the view in
which they are used. To see the variables listed by the
a
).
Programming

Advertisement

Table of Contents
loading

Table of Contents