mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 20:53:48 +02:00
16 lines
282 B
ObjectPascal
16 lines
282 B
ObjectPascal
Program Example96;
|
|
|
|
{ Program to demonstrate the Assigned function. }
|
|
|
|
Var P : Pointer;
|
|
|
|
begin
|
|
If Not Assigned(P) then
|
|
Writeln ('Pointer is initially NIL');
|
|
P:=@P;
|
|
If Not Assigned(P) then
|
|
Writeln('Internal inconsistency')
|
|
else
|
|
Writeln('All is well in FPC')
|
|
end.
|