beautypg.com

Command syntax – HP 39g Graphing Calculator User Manual

Page 223

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

All the programs that are called from the VIEWS menu
are transferred when the aplet is transferred, for example
to another calculator or to a PC.

As part of the VIEWS menu configuration, you can
specify programs that you want transferred with the
aplet, but are not called as menu options. For example,

these can be sub-programs that menu options use, or the

program that defines the aplet’s VIEWS menu.

You can include a “Start” option in the VIEWS menu to

specify a program that you want to run automatically

when the aplet starts. This program typically sets up the

aplet’s initial configuration. The Start option on the menu
is also useful for resetting the aplet.

Command syntax

The syntax for the command is as follows:

SETVIEWS

"Prompt 1"; "ProgramNamel”; ViewNumberl;
"Prompt!"; "ProgramName!"; ViewNumberl:
(You can repeat as many PromptIProgramNamel

ViewNumber trios of arguments as you like.)

Within each PromptIProgramName/ViewNumber trio, you
separate each item with a semi-colon.

Prompt

Prompt is the text that is displayed for the corresponding entry

in the Views menu. Enclose the prompt text in double quotes.

Associating programs with your apiet

If Prompt consists of a single space, then no entry appears in
the view menu. The program specified in the ProgramName
item is associated with the aplet and transferred whenever the

aplet is transmitted. Typically, you do this if you want to
transfer the Setviews program with the aplet, or you want to
transfer a sub-program that other menu programs use.

Programming

15-15