=== Programmbeispiel ===(Für Delphi und Free Pascal)<syntaxhighlight lang="pascal">program ObjectPascalExample;typeprocedure THelloWorld.Greet;beginend;varbeginend. ###>===Delphi and Free Pascal's Object Pascal===Note that the object construct is still available in Delphi and Free Pascal (Delphi-compatible mode).