bas7ener.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 Command
Use New SUB to create a new SUB procedure as part of the
program or module in the View window.
 
A dialog box will prompt you for a procedure name.
The QBX environment will then clear the View window and
generate the needed SUB and END SUB statements so you can
start entering text.
 
When you are through entering the new SUB, use the SUBs
command from the View menu (or press F2) to return to your
program. Your new SUB now appears in the SUBs command list.
 
 Tip: You can start a procedure editing screen without
      using a menu. Simply type the BASIC keyword SUB
      followed by a procedure name.