◄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. -♦-