Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Memory handling > Heap memory >

HEAP_End

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the memory location (pointer) of the last byte allocated at pMem

 

Syntax

 

pLastByte = HEAP_End(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