Assigned
Adam Boduch
Assigned
Moduł: System
var
P : Pointer;
begin
P := nil;
Writeln(Assigned(P)); // FALSE
GetMem(P, 1024);
Writeln(Assigned(P)); // TRUE
FreeMem(P);
end.
Zobacz też:
var
P : Pointer;
begin
P := nil;
Writeln(Assigned(P)); // FALSE
GetMem(P, 1024);
Writeln(Assigned(P)); // TRUE
FreeMem(P);
end.
Zobacz też: