HEAP_End

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Memory handling and pointers > Heap memory >

HEAP_End

 

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