S
stuwei
Unregistered / Unconfirmed
GUEST, unregistred user!
1.按以下方法查找指定目录下的文件,返回的f.name为什么为空呢?<br>procedure TForm1.Button1Click(Sender: TObject);<br> var f:TSearchRec;<br>begin<br> Findfirst('E:/TurboC3/',fahidden+fasysfile+faAnyfile,f);<br> memo1.Lines.Add(F.Name);<br> {while Findnext(F)=0 do<br> begin<br> findnext(F);<br> memo1.Lines.Add(F.Name);<br> end <br>end;<br><br>