HP (Hewlett-Packard) 40G Calculator User Manual


 
Programming 15-11
3. Create a program called
EXP.ME2 with contents
as shown. This program
sets the numeric view
options for the aplet, and
runs the program that
you can use to configure the angle mode.
4. Create a program called
EXP.ANG which the
previous two programs
call.
5. Create a program called
EXP.S which runs when
you start the aplet, as
shown. This program
sets the angle mode to
degrees, and sets up the
initial function that the aplet plots.
Configuring
the Setviews
menu option
programs
In this section we will begin by configuring the VIEWS
menu by using the SETVIEWS command. We will then
create the “helper” programs called by the VIEWS menu
which will do the actual work.
6. Open the Program catalog and create a program named
“EXP.SV”. Include the following code in the program.
(Text shown in italics below are comments only.)
Each entry line after the
command SETVIEWS is
a trio that consists of a
VIEWS menu text line (a
space indicates none), a
program name, and a
number that defines the view to go to after the program
has run its course. All programs listed here will transfer
with an aplet when the aplet is transferred.