Navigation:  thinBasic Modules > Core > Memory handling > Heap memory >

HEAP_SIZE

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com