来看看这个函数的作用域
wshuo 2003-11-16 11:59:59 如果函数的声明不在类声明中,如下
........
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
Function ABC(X:Integer):string;//申明的函数
implementation
.......
它的作用域是什么?