mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-26 14:00:31 +01: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. |