■ Defines a SUB procedure and creates a code template.
■ Tip: Type "SUB subname" in the active code window and press
Enter to define a SUB procedure and create a code
template.
■ Use descriptive procedure names to identify the procedure's
use and to avoid duplicate procedure or variable names.
■ To define a new SUB procedure:
1. Type a procedure name (up to 40 characters) in the
Name text box.
┌────────────────────────────────────────────┐
Name: │ │
└────────────────────────────────────────────┘
2. Press Enter or choose Edit in Active to edit the new
procedure in the active window,
╔══════════════╗
║Edit in Active║
╚══════════════╝
choose Edit in New to edit the new procedure in a new
window,
┌──────────────┐
│ Edit in New │
└──────────────┘
or choose one of the following:
┌───────────────┐
│ Cancel │ To cancel the operation
└───────────────┘
┌───────────────┐
│ Help │ To get help
└───────────────┘