L
lhxu
Unregistered / Unconfirmed
GUEST, unregistred user!
sourfile,destfile:textfile;<br>sn:='c:/test.txt'<br>dn:='c:/test2.txt'<br> assignfile(sourfile,sn);<br> assignfile(destfile,dn);<br>读sourfile,写 destfile<br> readln(sourfile,temp1);<br> writeln(destfile,temp1);<br>我怎么判断sourfile已经到了文件尾了呢?<br>sourfile 没有 eof 属性 <br><br>