{$mode objfpc}
type
test = object
procedure testme;static;
end;
procedure test.testme;
begin
writeln('succeeded');
end;
begin
Test.testme;
end.
Huh?
Nothing to do with deprecated, it is just a slightly different syntax.
Maybe the other answers already hinted at that, but this example is proof:
Note I do not instantiate anything and use "object"....
This is the "object" equivalent to class methods...