tb0141.pp 250 B

123456789101112131415
  1. { Old file: tbs0169.pp }
  2. { missing new(type) support for not object/class OK 0.99.9 (PM) }
  3. type
  4. psearchrec=^longint;
  5. Var Sr : PSearchrec;
  6. begin
  7. Sr := New(PSearchRec);
  8. Sr^ := 45;
  9. if Sr^<>45 then
  10. Halt(1);
  11. Dispose(Sr);
  12. end.