[next] [previous] [contents]

  17.1 Overview of Compiler Directives
  With compiler directives, you can do the following:

  .
        Place program titles and subtitles in the header that
        appears on each page of the listing file
  .
        Place a program version identification string in both the
        listing file and the object module
  .
        Start or stop the inclusion of listing information for
        selected parts of a program
  .
        Start or stop the inclusion of cross-reference information
        for selected parts of a program
  .
        Include BASIC code from another source file or a text
        library
  .
        Include CDD/Repository record definitions in a BASIC
        program
  .
        Record dependency relationships in CDD/Repository
  .
        Display a message at compile time
  .
        Conditionally compile parts of a program
  .
        Terminate compilation

  When using compiler directives, follow these rules:

  .
        Directives must begin with a percent sign (%).
  .
        Directives can be preceded by an optional line number.
  .
        Directives must be the only text on the line (except for
        %IF-%THEN-%ELSE-%END %IF).
  .
        Directives cannot appear within a quoted string.
  .
        Directives cannot follow an END, END SUB, or END
        FUNCTION statement.