MEMFREE - QB64 Wiki

MEMFREE

From QB64 Wiki

Revision as of 15:49, 3 October 2012 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Syntax:

_MEMFREE memory_variable


Parameters:

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


Usage:

  • Since all _MEM type variables cannot use a suffix, use DIM variable 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:



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