forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 25
_MEMFREE
Cory Smith edited this page Sep 1, 2022
·
3 revisions
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.
- _MEM (variable type)
- _MEM (function)
- _MEMNEW (function)
- _MEMIMAGE (function)
- _MEMELEMENT (function)
- _MEMGET (function)