Delphi编写windows应用程序,writeln函数不能使用Delphi编写windows应用程序,writeln函数不能使用本来想用writeln作为单元文件测试用,目的是监控局部变量,但是运行就出错请求帮助[解决办法]另外,也可以重定向rtl中的Output,然后Writleln就可以向文件输出了比如:
AssignFile(Output, 'debug.log'); Rewrite(Output); ... Writeln(blahblah);