tbs0029.pp 221 B

1234567891011121314151617181920
  1. type
  2. TA = object
  3. constructor init;
  4. procedure test;virtual;
  5. end;
  6. constructor TA.init;
  7. begin
  8. end;
  9. procedure TA.test;
  10. begin
  11. end;
  12. var
  13. P: Pointer;
  14. begin
  15. P := pointer(TypeOf(TA));
  16. end.