mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 08:20:18 +00:00
31 lines
915 B
Text
31 lines
915 B
Text
|
{{QBDLDATE:05-20-2022}}
|
||
|
{{QBDLTIME:23:09:12}}
|
||
|
{{DISPLAYTITLE:_MEMFREE}}
|
||
|
The [[_MEMFREE]] statement frees the designated memory block [[_MEM]] value and must be used with all memory functions.
|
||
|
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
: [[_MEMFREE]] {{Parameter|memoryVariable}}
|
||
|
|
||
|
|
||
|
{{Parameters}}
|
||
|
* ALL designated [[_MEM]] type {{Parameter|memoryVariable}} values must be freed to conserve memory when they are no longer used or needed.
|
||
|
|
||
|
|
||
|
{{PageDescription}}
|
||
|
* Since [[_MEM]] type variables cannot use a suffix, use [[DIM]] {{Parameter|memoryVariable}} [[AS]] [[_MEM]] to create memory handle variables.
|
||
|
* All values created by memory functions must be freed using [[_MEMFREE]] with a valid [[_MEM]] variable.
|
||
|
|
||
|
|
||
|
{{PageSeeAlso}}
|
||
|
* [[_MEM]] {{text|(variable type)}}
|
||
|
* [[_MEM (function)]]
|
||
|
* [[_MEMNEW]] {{text|(function)}}
|
||
|
* [[_MEMIMAGE]] {{text|(function)}}
|
||
|
* [[_MEMELEMENT]] {{text|(function)}}
|
||
|
* [[_MEMGET (function)]]
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|
||
|
|