Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
5
Task/Memory-allocation/XPL0/memory-allocation.xpl0
Normal file
5
Task/Memory-allocation/XPL0/memory-allocation.xpl0
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
int Array(10); \allocates 10 integers (40 bytes) of heap space
|
||||
Array2:= Reserve(10*4); \another way to allocate 10 integers of heap space
|
||||
Array3:= MAlloc(4); \allocate 4 paragraphs (64 bytes) of conventional memory
|
||||
...
|
||||
Release(Array3); \release this memory so it can be used elsewhere
|
||||
Loading…
Add table
Add a link
Reference in a new issue