我定义格式如下
unit hanshu;interfaceimplementation
function 名称():string;
begin
.......;
......;
end;end.
我在调用程序中也加了 uses hanshu;了,可是系统就是不给执行!
是不是还要加什么说明啊?
unit hanshu;interfaceimplementation
function 名称():string;
begin
.......;
......;
end;end.
我在调用程序中也加了 uses hanshu;了,可是系统就是不给执行!
是不是还要加什么说明啊?
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;type
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation
//*******************
var i:integer;
//*******************
{$R *.dfm}end.
unit hanshu;interface
function 名称():string;implementation
function 名称():string;
begin
.......;
......;
end;end.