250 Chapter 12: Programming
7312ENG.DOC CH 12 Programming, English Julie Hewlett Revised: 07/29/98 12:17 PM Printed: 05/19/99 9:02
AM Page 250 of 32
Then follow these steps:
1. Position the cursor where you want the copy of the
program to begin.
2. Press - P. Rcl is displayed on the bottom line of the
Program editor.
3. Press 8 " " to display the 8 EXEC menu.
4. Select a name from the menu. prgmname is pasted to the
bottom line of the Program editor. You cannot directly
enter the subroutine name using the Text editor when
using Rcl. You must select the name from the 8 EXEC
menu.)
5. Press b. All command lines from the selected
program are copied into the new or existing program.
Calling a Program from Another ProgramCalling a Program from Another Program
The 8 EXEC (execute) menu (8 " "), accessed only
from the Program editor, lets you call any stored program into
the current program. The called program then becomes a
subroutine in the current program.
The 8 EXEC menu lists in alphabetical order all created
programs. From this list, select the program that you want to
call. The program name is pasted to the cursor location in the
Program editor.
This menu labels the first 10 items using 1 though 9, then 0. All
other programs are still included in the list, but are not labeled
with a number. To select a menu item, press the number
associated with it or highlight the item with the cursor keys,
and then press b.
You also can enter a program name on a command line by
selecting E:prgm from the 8 CTL menu, and then entering
the program name using the Text editor.