LINK Help (linkx.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.
HEAPSIZE Statement
                                             Up Contents Index Back
─────HEAPSIZE Statement─────────────────────────────────────────────────────
 
     Syntax:  HEAPSIZE {bytes | MAXVAL}
 
     This statement defines the size of the application's or DLL's
     local heap in bytes. This value affects the size of the default
     data segment (DGROUP). The default without HEAPSIZE is no heap.
 
     Specify <bytes> as any positive integer in decimal or C-language
     notation. The limit is MAXVAL; excess bytes are not allocated.
     See: Entering Numeric Arguments
 
     MAXVAL sets the heap size so that DGROUP is 64K. This is useful
     in bound applications to force a 64K requirement for DGROUP.
 
     Example
 
          HEAPSIZE 4000
 
     This example sets the local heap to 4,000 bytes.
                                    -♦-