Operation Manual

Chapter 16: Programming 286
Menu("
title","text1",label1,"text2",label2, . . .)
The program above pauses until you select 1 or 2. If you select 2, for example, the menu disappears and
the program continues execution at
Lbl B.
prgm
Use prgm to execute other programs as subroutines. When you select prgm, it is pasted to the cursor
location. Enter characters to spell a program name. Using prgm is equivalent to selecting existing
programs from the PRGM EXEC menu; however, it allows you to enter the name of a program that you
have not yet created.
prgmname
Note: You cannot directly enter the subroutine name when using RCL. You must paste the name from
the
PRGM EXEC menu.
Return
Return quits the subroutine and returns execution to the calling program, even if encountered within
nested loops. Any loops are ended. An implied Return exists at the end of any program that is called as
a subroutine. Within the main program,
Return stops execution and returns to the home screen.
Stop
Stop stops execution of a program and returns to the home screen. Stop is optional at the end of a
program.
DelVar
DelVar deletes from memory the contents of variable.
DelVar variable
GraphStyle(
GraphStyle( designates the style of the graph to be drawn. function# is the number of the Y= function
name in the current graphing mode.
graphstyle is a number from 1 to 7 that corresponds to the graph
style, as shown below.
GraphStyle(function#,graphstyle)
For example, GraphStyle(1,5) in Func mode sets the graph style for Y1 to ë (path; 5).
Not all graph styles are available in all graphing modes. For a detailed description of each graph style,
see the Graph Styles table in Chapter 3.
GraphColor
Program Output
1 = ç (Thin)
2 = è (Thick)
3 = é (Shade above)
4 = ê (Shade below)
5 = ë (Path)
6 = ì (Animate)
7 = (Dot-Thick)
8 =í (Dot-Thin)