E
e518
Unregistered / Unconfirmed
GUEST, unregistred user!
try
LbList:=TstringList.Create;
//
//这里是一些给LbList赋值的语句。
//
except
S:='建立类别索引时错误!';
messagebox(0,pchar(s),pchar(WinCaption),mb_ok+MB_ICONSTOP);
if LbList<>nil then LbList.Free;
exit;
end;
当程序编译到if LbList<>nil then LbList.Free;时总提示 “Variable 'LbList' might not have been initialized;”
如果听它的,就要删除 LbList.Free;这一句呀
LbList:=TstringList.Create;
//
//这里是一些给LbList赋值的语句。
//
except
S:='建立类别索引时错误!';
messagebox(0,pchar(s),pchar(WinCaption),mb_ok+MB_ICONSTOP);
if LbList<>nil then LbList.Free;
exit;
end;
当程序编译到if LbList<>nil then LbList.Free;时总提示 “Variable 'LbList' might not have been initialized;”
如果听它的,就要删除 LbList.Free;这一句呀