bas7qck.hlp (Table of Contents; 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.
BASIC Programs and Modules
  Overlays  Procedures                       Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
BASIC Programs and Modules
 
BASIC programs consist of one or more modules. A module is a source file
that can be separately compiled.
 
A module may contain SUB and FUNCTION procedures, as well as code not
directly part of a SUB or FUNCTION. Statements that are not part of a SUB
or FUNCTION are called module-level code.
 
A program has one special module called the main module. The main module
contains the entry point of the program (the place where the program starts
running). Each program contains only one main module.
 
Modules can be grouped as overlays to reduce the memory requirements of a
program.