writeMemory (Memory Management)

Writes a number to an untyped memory block.

Arguments

The

number
to write.
pointer
to the memory block to write to.

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