tb0423.pp 179 B

12345678910111213
  1. {$ifdef fpc}{$mode delphi}{$endif}
  2. type
  3. tmethod = record
  4. code,data : pointer;
  5. end;
  6. var
  7. p : procedure(l : longint) of object;
  8. begin
  9. tmethod(p).data:=nil;
  10. end.