allocateMemory (Memory Management)

Allocates a block of untyped memory and returns a raw pointer to it.

Arguments

Block

size
in bytes, an integer number.

Return values

pointer
to the memory block.

Example

a: 100 allocateMemory; 4n16 a writeMemory 8n16 a 2nx + writeMemory c: 0 a readMemory; a freeMemory c 65536 / print c 65536 mod print
Output:
84