Difference between revisions of "MEMELEMENT"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 6: Line 6:
  
  
* The ''reference variable'' parameter designates the existing variable name using the memory block to address.
+
* The ''reference variable'' parameter designates the existing variable name using the memory block.
 
* All values created by memory functions MUST be freed using [[_MEMFREE]] with a valid [[_MEM]] variable.
 
* All values created by memory functions MUST be freed using [[_MEMFREE]] with a valid [[_MEM]] variable.
  

Revision as of 17:40, 19 August 2012

The _MEMELEMENT function returns a _MEM block referring to a variable's memory ,but not past it.


Syntax

memory_block = _MEMELEMENT(reference_variable)


  • The reference variable parameter designates the existing variable name using the memory block.
  • 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