<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Memory handling and pointers > Heap memory > HEAP_Copy |
Description
Creates a copy of a string buffer previously allocate giving it memory pointer.
Syntax
NewPMem = HEAP_Copy(pMem)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
pMem |
Number |
No |
Pointer to a previously allocated heap memory |
Remarks
Restrictions
pMem MUST be a pointer allocated using any of the HEAP_* functions
See also
Examples