beautypg.com

Configuring the setviews menu option programs – HP 39g Graphing Calculator User Manual

Page 219

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

background image

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

EEKP.HES PfiEGRSMg

i0^NumStart!

SfrNumStep!

MSGBOH

"Numeric

values

set...":

RUN "EXP.flNG":

WiililHJiHlIlIBHi

you can use to configure the angle mode.

4. Create a program called

EXP.ANG which the

previous two programs
call.

EKP.ANG PRDSRflM

CHOOSE C;

"ANGLE MEASURE"!

"Degrees"!

"Radians"!

"Grads"!

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.

^^^^HEKP.S

pbdgrsms

l^flngle:

' X e - a ' i - F K X ) :

CHECK l:

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

EKP.JM PfiDGftfiM

"Ihtryl"!"EXP.MEl

Entry2"!"EXP.ME2"i3!"

■ ■ "EXP.SV"!0i"

"EXP.flNG''!0: "START"!

"EXP.S":?:

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.

Programming

15-11