Man
Builtins
Memory Management
freeMemory (Memory Management)
freeMemory (Memory Management)
Frees a block of untyped memory by a raw pointer.
Arguments
pointer
to the memory block.
Return values
None
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