From QB64 Wiki
Revision as of 15:08, 8 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _MEMFREE statement frees the designated memory block _MEM value and must be used with all memory functions.


_MEMFREE memoryVariable


  • ALL designated _MEM type memoryVariable values must be freed to conserve memory when they are no longer used or needed.


  • Since _MEM type variables cannot use a suffix, use DIM memoryVariable AS _MEM to create memory handle variables.
  • All values created by memory functions must be freed using _MEMFREE with a valid _MEM variable.

See also

Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page