首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

Delphi编写windows应用程序,writeln函数不能使用,该怎么解决

2012-02-05 
Delphi编写windows应用程序,writeln函数不能使用Delphi编写windows应用程序,writeln函数不能使用本来想用w

Delphi编写windows应用程序,writeln函数不能使用
Delphi编写windows应用程序,writeln函数不能使用
本来想用writeln作为单元文件测试用,目的是监控局部变量,但是运行就出错
请求帮助

[解决办法]
另外,也可以重定向rtl中的Output,然后Writleln就可以向文件输出了
比如:

Delphi(Pascal) code
  AssignFile(Output, 'debug.log');  Rewrite(Output);  ...  Writeln(blahblah); 

热点排行