Code: Select all
OpenConsole()
For i=1 To 10
PrintN("Line "+Str(i))
Next i
If I open a dos prompt and type...
C:>List.exe >c:\list.txt
the output is not
Line 1
Line 2
Line 3
etc

I'm sure is something to do with ANSI vs UFT-8
Code: Select all
OpenConsole()
For i=1 To 10
PrintN("Line "+Str(i))
Next i
Code: Select all
Print("Test"+#crlf)
Put this at the top of your source:webbmeister wrote:That's folks, that works great. Why does PrintN() not do the same? It's going to be a real painto mod all the printn statements in my 2000 line project!! is there a way of making PrintN() behave its self??
Code: Select all
Macro PrintN(Text)
Print(Text + #CRLF$)
EndMacro