Modula-2 || Compiler & Tools || Library || Search Engine
PROCEDURE ALLOCATE(VAR a: ADDRESS; n: CARDINAL); PROCEDURE DEALLOCATE(VAR a: ADDRESS; n: CARDINAL); PROCEDURE Setmode(m: CARDINAL);
DEALLOCATE frees n bytes allocated storage starting at address a and sets a to NIL.
Setmode switches the mode of reaction on storage overflow. If m equals 1 ALLOCATE causes the abortion of the program (default). M equal 2 causes ALLOCATE to return a NIL pointer.
Modula-2 || Compiler & Tools || Library || Search Engine