MEMFREE: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{ | {{PageParameters}} | ||
* ALL designated [[_MEM]] type {{Parameter|memoryVariable}} values must be freed to conserve memory when they are no longer used or needed. | * ALL designated [[_MEM]] type {{Parameter|memoryVariable}} values must be freed to conserve memory when they are no longer used or needed. | ||
Revision as of 02:05, 24 January 2023
The _MEMFREE statement frees the designated memory block _MEM value and must be used with all memory functions.
Syntax
- _MEMFREE memoryVariable
Parameters
- ALL designated _MEM type memoryVariable values must be freed to conserve memory when they are no longer used or needed.
Description
- 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
- _MEM (variable type)
- _MEM (function)
- _MEMNEW (function)
- _MEMIMAGE (function)
- _MEMELEMENT (function)
- _MEMGET (function)