T
tseug
Unregistered / Unconfirmed
GUEST, unregistred user!
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
procedure Test(A1: Integer
A2: String);
implementation
{$R *.dfm}
procedure Test;
begin
ShowMessage(Format('%d %s', [A1, A2]));
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Test(1, 'Hello, World!');
end;
end.
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
procedure Test(A1: Integer
A2: String);
implementation
{$R *.dfm}
procedure Test;
begin
ShowMessage(Format('%d %s', [A1, A2]));
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Test(1, 'Hello, World!');
end;
end.