Programming
461
It is possible to link more than one app via programs. For
example, a program associated with the Function app
could execute a command to start the Statistics 1Var app,
and a program associated with the Statistics 1Var app
could return to the Function app (or launch any other app).
Example
The following example illustrates the process of creating a
custom app. The app is based on the built-in Statistics
1Var app. It simulates the rolling of a pair of dice, each
with a number of sides specified by the user. The results
are tabulated, and can be viewed either in a table or
graphically.
1. In the Application
Librray, select the
Statistics 1Var app
but don’t open it.
I
Select
Statistics
1Var
.
2. Tap
.
3. Enter a name for the new app (such as
DiceSimulation
.)
4. Tap
twice.
The new app appears in the Application Library.
5. Open the new app.
6. Open the Program Catalog.
Sx
7. Tap the program to
open it.
Each customised
app has one
program associated
with it. Initially, this
program is empty.
You customize the
app by entering functions into that program.
At this point you decide how you want the user to interact
with the app. In this example, we will want the user to be
able to:
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...