HP (Hewlett-Packard) 40gs Calculator User Manual


 
21-16 Programming
ProgramName
ProgramName is the name of the program that runs when
the corresponding menu entry is selected. All programs
that are identified in the aplet’s SETVIEWS command are
transferred when the aplet is transmitted.
ViewNumber
ViewNumber is the number of a view to start after the
program finishes running. For example, if you want the
menu option to display the Plot view when the associated
program finishes, you would specify 1 as the
ViewNumber value.
Including standard menu options
To include one of an aplet’s standard VIEWS menu
options in your customized menu, set up the arguments
trio as follows:
The first argument specifies the menu item name:
Leave the argument empty to use the standard
Views menu name for the item, or
Enter a menu item name to replace the standard
name.
The second argument specifies the program to run:
Leave the argument empty to run the standard
menu option.
Insert a program name to run the program before
the standard menu option is executed.
The third argument specifies the view and the menu
number for the item. Determine the menu number
from the View numbers table below.
Note: SETVIEWS with no arguments resets the views
to default of the base aplet.
hp40g+.book Page 16 Friday, December 9, 2005 1:03 AM