<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Memory handling and pointers > Heap memory > HEAP_Size |
Description
Retrieves the size of a memory block allocated by the Heap_Alloc or Heap_ReAlloc functions
Syntax
nSize = HEAP_Size(ptr)
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
ptr |
Number |
No |
Pointer to a previously allocated heap memory |
Remarks
Restrictions
See also
Examples