This program uses the Windows API (WinAPI) to print "Hello World" into a message box.
To include a dependency (like Windows
in this case), add the uses block including a comma-separated list of units ending with an semicolon.
program HelloWorld;
uses
Windows;
begin
MessageBox(0, 'Hello World!', 'Hello World!', 0);
end.