beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 295

background image

Programming in HP PPL

291

Starts the nth view of the current app. If draw? is true (that
is, not 0), it will force an immediate redrawing of the
screen for that view.
The view numbers (n) are as follows:

Symbolic:0
Plot:1
Numeric:2
Symbolic Setup:3
Plot Setup:4
Numeric Setup:5
App Info: 6
View Menu:7
First special view (Split Screen Plot Detail):8
Second special view (Split Screen Plot Table):9
Third special view (Autoscale):10
Fourth special view (Decimal):11
Fifth special view (Integer):12
Sixth special view (Trig):13

The special views in parentheses refer to the Function app,
and may differ in other apps. The number of a special
view corresponds to its position in the View menu for that
app. The first special view is launched by
STARTVIEW(8), the second with STARTVIEW(9), and

so on.
You can also launch views that are not specific to an app
by specifying a value for n that is less than 0:

Home Screen:-1
Home Settings:-2
Memory Manager:-3
Applications Library:-4
Matrix Catalog:-5
List Catalog:-6
Program Catalog:-7
Notes Catalog:-8

VIEW

Syntax: VIEW ("string"[,program_name])

BEGIN
Commands;
END;

Adds a custom option to the View menu. When string

is selected, runs program_name. See “The