beautypg.com

Using dedicated program functions, Redefining the views menu – HP Prime Graphing Calculator User Manual

Page 524

background image

520

Programming

Using

dedicated

program

functions

These programs are run when the keys shown in the table
below are pressed. These program functions are designed
to be used in the context of an app.

Redefining

the Views

menu

The Views menu allows any app to define views in
addition to the standard seven views shown in the table
above. By default, each HP app has its own set of
additional views contained in this menu. The VIEWS

command allows you to redefine these views to run
programs you have created for an app. The syntax for the
VIEWS command is:

VIEWS "text"

By adding VIEWS "text" before the declaration of a

function, you will override the list of views for the app. For
example, if your app program defines three
views—"SetSides", "RollDice" and "PlotResults"—when
you press

V

you will see SetSides, RollDice, and

PlotResults instead of the app’s default view list.

Program Name

Equivalent

Keystrokes

Symb Symbolic

view

Y

SymbSetup

Symbolic Setup

SY

Plot

Plot view

P

PlotSetup

Plot Setup

SP

Num

Numeric view

M

NumSetup

Numeric Setup

SM

Info

Info view

SI

START

Starts an app

RESET

Resets or

initializes an app