Crt_MAlloc

<< Click to Display Table of Contents >>

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

Crt_MAlloc

 

Description

 

Allocates memory blocks.

 

Syntax

 

ptr = Crt_MAlloc(lSize)

 

Returns

 

Number: pointer to the allocated memory area.

If returned value is zero, an error has occurred.

 

Parameters

 

Name

Type

Optional

Meaning

lSize

Number

No

Bytes to allocate

 

Remarks

 

Restrictions

 

See also

 

Examples