Skip to content

Instantly share code, notes, and snippets.

@nielsAD
Created July 18, 2016 14:16
Show Gist options
  • Save nielsAD/10bac107b839903315b7da2b234f1b29 to your computer and use it in GitHub Desktop.
Save nielsAD/10bac107b839903315b7da2b234f1b29 to your computer and use it in GitHub Desktop.
type Unit1 = type Pointer;
type Unit2 = type Pointer;
procedure Unit1.Func; static;
begin
WriteLn('Hello');
end;
procedure Unit2.Func; static;
begin
WriteLn('World');
end;
begin
Unit1.Func();
Unit2.Func();
with Unit1, Unit2 do
Func();
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment