tbs0139a.pp 261 B

123456789101112131415161718192021
  1. unit tbs0139a;
  2. {$mode objfpc}
  3. interface
  4. type
  5. SomeClass=class(TObject)
  6. protected
  7. procedure doSomething; virtual;
  8. end ;
  9. implementation
  10. procedure SomeClass.doSomething;
  11. begin
  12. Writeln ('Hello from SomeClass.DoSomething');
  13. end ;
  14. end.