[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

      The Turbo Pascal compiler accepts four parameter directives to be
      passed to the compiler through the source code or intgrated
      environment.  These directives follow:


      DIRECTIVE:  Include File

      SYNTAX::  {$I Filename[.EXT]}

      COMMENTS:  This allows source code to be modularized into seperate
                 files and included into the main program file at the
                 location of the include statement.  If no file extension
                 is provided the compiler assumes .PAS as the default.

                 A maximum of five file may be open at any one time, thus
                 allowing the maximum number of nested include files to
                 be eight.

                 Include files can be located anywhere in a program
                 except inside program statements.



      DIRECTIVE:  Link Object (Filename)

      SYNTAX::  {$L FileName[.ext]}

      COMMENTS:  This allows the inclusion of seperately compiled
                 assembly language subprograms or routines during
                 the link phase of the program creation.



       DIRECTIVE:  Memory Allocation Sizes

       SYNTAX::  {$M StackSize, HeapMinimum, HeapMaximum}

       COMMENTS:  This allows you to set the size of the stack and heap
                  through program source code.  The default settings
                  are:
                        StackSize   = 16384
                        HeapMinimum = 0
                        HeapMaximum = 655360


       DIRECTIVE:  Unit File Name

       SYNTAX::  {$U FileName}

       COMMENTS:  This directivve allows you to specify the file name
                  of a unit's source file and .TPU file in cases where
                  the unit name and its file name differ.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson