1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00
QB64-PE/internal/help/_MEMFREE.txt

27 lines
832 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_MEMFREE}}
The '''_MEMFREE''' statement frees the designated memory block [[_MEM]] value and MUST be used with all memory functions.
{{PageSyntax}}
::: '''_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:''
* [[_MEM]] {{text|(variable type)}}
* [[_MEM (function)]]
* [[_MEMNEW]] {{text|(function)}}
* [[_MEMIMAGE]] {{text|(function)}}
* [[_MEMELEMENT]] {{text|(function)}}
* [[_MEMGET (function)]]
{{PageNavigation}}