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

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);