The program above pauses until you select
or
. If you select
, for example, the menu
1
2
2
disappears and the program continues execution at
.
Lbl B
prgm
Use
to execute other programs as subroutines. When you select
, it is pasted to the
prgm
prgm
cursor location. Enter characters to spell a program
. Using
is equivalent to selecting
name
prgm
existing programs from the
menu; however, it allows you to enter the name of a
PRGM EXEC
program that you have not yet created.
prgmname
You cannot directly enter the subroutine name when using
. You must paste the name
Note:
RCL
from the
menu.
PRGM EXEC
Return
quits the subroutine and returns execution to the calling program, even if encountered
Return
within nested loops. Any loops are ended. An implied
exists at the end of any program that
Return
is called as a subroutine. Within the main program,
stops execution and returns to the
Return
home screen.
Stop
stops execution of a program and returns to the home screen.
is optional at the end of a
Stop
Stop
program.
DelVar
deletes from memory the contents of
.
DelVar
variable
DelVar variable
Chapter 16: Programming
287