ener.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
New Sub (Alt+E,S)
■ 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
       └───────────────┘