ex96.pp 282 B

123456789101112131415
  1. Program Example96;
  2. { Program to demonstrate the Assigned function. }
  3. Var P : Pointer;
  4. begin
  5. If Not Assigned(P) then
  6. Writeln ('Pointer is initially NIL');
  7. P:=@P;
  8. If Not Assigned(P) then
  9. Writeln('Internal inconsistency')
  10. else
  11. Writeln('All is well in FPC')
  12. end.