T
takdick
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br>f:file;<br>begin<br>assignfile(f,'c:/test.exe');<br>Rewrite(f,1);<br>.....<br>......<br>closefile(f);<br>end;<br>請問如何在另一事件中檢測是否已closefile(f),如果否則執行closefile(f)?<br>類似 if memorystream <> nil then memorystream.free;