HP (Hewlett-Packard) 40G Calculator User Manual


 
15-14 Programming
Programming commands
This section describes the commands for programming with
HP 39G/40G. You can enter these commands in your program
by typing them or by accessing them from the Commands
menu.
Aplet commands
These commands control aplets.
CHECK Checks (selects) the corresponding function in the current
aplet. For example, Check 3 would check F3 if the current
aplet is Function. Then a checkmark would appear next to F3
in Symbolic view, F3 would be plotted in Plot view, and
evaluated in Numeric view.
CHECK n
SELECT Selects the named aplet and makes it the current aplet. Note:
Quotes are needed if the name contains spaces or other
special characters.
SELECT apletname
SETVIEWS The SETVIEWS command is used to define entries in the
VIEWS menu for aplets that you customize. See “About
customizing an aplet” on page 15-9 for an example of using
the SETVIEWS command.
When you use the SETVIEWS command, the aplet’s standard
VIEWS menu is deleted and the customized menu is used in
its place. You only need to apply the command to an aplet
once. The View menu changes remain unless you apply the
command again.
Typically, you develop a program that uses the SETVIEWS
command only. The command contains a trio of arguments for
each menu option to create, or program to attach. Keep the
following points in mind when using this command:
The SETVIEWS command deletes an aplet’s standard
Views menu options. If you want to use any of the
standard options on your reconfigured VIEWS menu,
you must include them in the configuration.
When you invoke the SETVIEWS command, the
changes to an aplet’s VIEWS menu remain with the
aplet. You need to invoke the command on the aplet
again to change the VIEWS menu.