J
jianglinw141
Unregistered / Unconfirmed
GUEST, unregistred user!
[Error] Unit1.pas(64): Undeclared identifier: 'loadconfig'但是我明明将loadconfig定义为一个函数了: function LoadConfig():TStrings;
......
function tscanthread.loadconfig():tstrings;
var
strconfig:tstrings;
begin
strconfig:=tstringlist.Create ;
configfile:=tinifile.Create(configfilename);
strconfig.Add(inttostr(configfile.ReadInteger('monsystem','interval',10)));
end;
......
function tscanthread.loadconfig():tstrings;
var
strconfig:tstrings;
begin
strconfig:=tstringlist.Create ;
configfile:=tinifile.Create(configfilename);
strconfig.Add(inttostr(configfile.ReadInteger('monsystem','interval',10)));
end;