advr.hlp (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 Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SETMEM(numeric-expression&)
 
 Usage Notes
   ■ The first call to SETMEM to increase the far heap has no effect because
     Visual Basic allocates as much memory as possible to the far heap when
     a program starts.
 
   ■ If SETMEM cannot change the far heap by the requested number of bytes,
     it reallocates as many bytes as possible.
 
   ■ SETMEM can be used in mixed-language programming to decrease the far
     heap space so procedures in other languages can dynamically allocate
     far memory. See: Mixed-Language Programming Commands