qb45advr.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.
Fundamental Building Blocks: BASIC Statements
  Fundamental Building Blocks   Statements   Contents   Index
──────────────────────────────────────────────────────────────────────────────
Language Elements: BASIC Statements
 
A BASIC statement is either executable or nonexecutable.
 
  ■ An executable statement advances the flow of a program's logic by
    telling the program what to do next (for example, to read input,
    write output, add two numbers together and store the result in a
    variable).
 
  ■ A nonexecutable statement does not advance the flow of a program's
    logic. Instead, nonexecutable statements perform tasks such as
    allocating storage for variables, declaring and defining variable
    types, and designating variables to be shared among procedures.
 
    The following BASIC statements are nonexecutable:
 
         REM or '                      DIM (static arrays only)
         COMMON                        OPTION BASE
         CONST                         SHARED
         DATA                          STATIC
         DECLARE                       TYPE...END TYPE
         DEFtype