Alloc

Pointer = Alloc ( Size [ , Count ] )

Allocates a memory block of Size * Count bytes and returns a pointer on it.

By default, Count is one.

Pointer = Alloc ( String )

Allocates a memory block containing the specified string and returns a pointer on it.

The size of the memory block is the string length plus one extra byte for the final null character.

See also