254 Programming
Program commands
This section contains details on each of the individual
commands grouped by category.
App commands These commands allow you to launch any HP app, bring
up any view of the current app, and change the options
in the Views menu.
STARTAPP Syntax: STARTAPP("name")
Starts the app with name. This will cause the app's
program's START function to be run if present. The app's
default view will be started. Note that the START function
is always executed when the user presses in the
app library. Also works for user apps.
Example: STARTAPP("Function") launches the Function
app.
STARTVIEW Syntax: STARTVIEW( [,draw?])
Starts the nth view of the current app. If draw? is true (non
0), it will force an immediate redrawing of the screen for
that view.
The view numbers are as follows:
Symbolic:0
Plot:1
Numeric:2
Symbolic Setup:3
Plot Setup:4
Numeric Setup:5
App Info: 6
Views 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 for other apps. The numbers of
special views for other apps correspond to their position
in the Views menu for that app. The first special view is
launched by STARTVIEW(6), the second with
STARTVIEW(7), and so on.