delphi2007 教程

delphi2007 教程

首页 新随笔 联系 聚合 管理
  1013 Posts :: 0 Stories :: 28 Comments :: 0 Trackbacks
Debugger Exception Notification问题?? ?? Delphi / Windows SDK/API
http://www.delphi2007.net/DelphiBase/html/delphi_20061204190804295.html
program   Project2;  
   
  {$APPTYPE   CONSOLE}  
   
  uses  
      SysUtils;  
      const  
      filename1='c:\11.txt';  
      filename2='c:\22.txt';  
      var  
      f1,f2:textfile;  
      s:string;  
   
  begin  
  assignfile(f1,filename1);  
  assignfile(f2,filename2);  
  rewrite(f2);  
  writeln(f2,'hello');        
  while   not   Eof(f1)   do  
  begin  
  readln(f1,s);  
  writeln(f2,s);  
  end;  
  closefile(f1);  
  closefile(f2);  
  end.  
   
  调试的时候,老报标题的错误  
  我的qq是44665376  
  哪位高手,能告诉我原因

AssignFile(f1,filename1);  
      FileMode   :=   0;     {Set   file   access   to   read   only   }  
      Reset(f1);  
      ...  
      CloseFile(f1);  
 

posted on 2009-04-22 10:43 delphi2007 阅读(311) 评论(0)  编辑 收藏 引用
只有注册用户登录后才能发表评论。