mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 07:59:28 +02:00
21 lines
261 B
ObjectPascal
21 lines
261 B
ObjectPascal
unit tbs0139a;
|
|
|
|
{$mode objfpc}
|
|
|
|
interface
|
|
|
|
type
|
|
SomeClass=class(TObject)
|
|
protected
|
|
procedure doSomething; virtual;
|
|
end ;
|
|
|
|
implementation
|
|
|
|
|
|
procedure SomeClass.doSomething;
|
|
begin
|
|
Writeln ('Hello from SomeClass.DoSomething');
|
|
end ;
|
|
|
|
end. |