mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-08 09:21:42 +01:00
11 lines
196 B
ObjectPascal
11 lines
196 B
ObjectPascal
{ %norun }
|
|
{$mode objfpc}
|
|
program project1;
|
|
function treeElementAsString(node: TObject): string; inline;
|
|
begin
|
|
result:=node.ClassName
|
|
end;
|
|
begin
|
|
writeln(treeElementAsString(TObject(2)));
|
|
end.
|