qck.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.
SETMEM Function
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Changes the amount of memory used by the far heap (the area where far
 objects are stored) and returns information about the far heap.
 
    SETMEM(numeric-expression&)
 
    ■ numeric-expression&   Specifies the number of bytes by which the
                            far heap will increase or decrease; in addition,
                            specifies the return value of the function:
 
                            Numeric
                            Expression   Far Heap    Return Value
                            ══════════   ═════════   ═══════════════════════
                            Negative     Decrease    Maximum size of far heap
                            0            No change   Current size of far heap
                            Positive     Increase    Maximum size of far heap
 
 See Also
    Memory Management Commands