K
kenmen
Unregistered / Unconfirmed
GUEST, unregistred user!
"unit ProcForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls;
type
{procedure type definition}
IntProc = procedure (var Num: Integer);
TForm1 = class(TForm)
ApplyButton: TButton;
DoubleRadioButton: TRadioButton
...................... "
请问在TYPE里定义的变量的作用域是怎的?
和在INTERFACE里定义的全局变量,在IMPLEMENTATION里定义的全局隐含
变量有啥不同?还有,全局变量与在PRIVATE里定义的变量有啥不同?
请高手指点!!
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls;
type
{procedure type definition}
IntProc = procedure (var Num: Integer);
TForm1 = class(TForm)
ApplyButton: TButton;
DoubleRadioButton: TRadioButton
...................... "
请问在TYPE里定义的变量的作用域是怎的?
和在INTERFACE里定义的全局变量,在IMPLEMENTATION里定义的全局隐含
变量有啥不同?还有,全局变量与在PRIVATE里定义的变量有啥不同?
请高手指点!!