Created
December 11, 2017 01:22
-
-
Save mdbs99/ac9932e2b0e5a3525fdf05223051d5c9 to your computer and use it in GitHub Desktop.
Program 1, Performance and Interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program Project1; | |
{$mode delphi} | |
uses | |
SysUtils, Unit1; | |
procedure Execute(A: IAction); | |
begin | |
A.Act; | |
end; | |
var | |
A: IAction; | |
begin | |
A := TAction.Create; | |
Execute(A); | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment