HP (Hewlett-Packard) 40gs Calculator User Manual


 
Programming 21-13
;’ EXP.ANG’;0;
The program EXP.ANG is a small routine
that is called by other programs that the
aplet uses. This entry specifies that the
program EXP.ANG is transferred when the
aplet is transferred, but the space in the
first quotes ensures that no entry appears
on the menu.
Start’;’EXP.S’;7:
This specifies the Start menu option. The
program that is associated with this entry,
EXP.S, runs automatically when you
start the aplet. Because this menu option
specifies view 7, the VIEWS menu opens
when you start the aplet.
You only need to run this program once to configure
your aplet’s VIEWS menu. Once the aplet’s VIEWS
menu is configured, it remains that way until you run
SETVIEWS again.
You do not need to include this program for your
aplet to work, but it is useful to specify that the
program is attached to the aplet, and transmitted
when the aplet is transmitted.
7. Return to the program
catalog. The programs
that you created should
appear as follows:
8. You must now the
program EXP.SV to execute the SETVIEWS command
and create the modified VIEWS menu. Check that the
name of the new aplet is highlighted in the Aplet
view.
9. You can now return to the Aplet library and press
to run your new aplet.
Programming commands
This section describes the commands for programming
with HP 40gs. You can enter these commands in your
program by typing them or by accessing them from the
Commands menu.
hp40g+.book Page 13 Friday, December 9, 2005 1:03 AM