Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/Memory-allocation/Pascal/memory-allocation-1.pas
Normal file
9
Task/Memory-allocation/Pascal/memory-allocation-1.pas
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
type
|
||||
TByteArray = array of byte;
|
||||
var
|
||||
A: TByteArray;
|
||||
begin
|
||||
setLength(A,1000);
|
||||
...
|
||||
setLength(A,0);
|
||||
end;
|
||||
11
Task/Memory-allocation/Pascal/memory-allocation-2.pas
Normal file
11
Task/Memory-allocation/Pascal/memory-allocation-2.pas
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
type
|
||||
Tcl = class
|
||||
dummy: longint;
|
||||
end;
|
||||
var
|
||||
c1: cl;
|
||||
begin
|
||||
c1:=Tcl.create;
|
||||
...
|
||||
c1.destroy;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue