This content has been marked as final. Show 7 replies
private function init():void
Alert.show("Matthew is here.\nGreetings from Colorado!")
When i try that Alert, it works and seperates it onto two lines. But its still not seperating it when i write to the file. The file is a .txt if that makes a difference.
I got two other ideas to try and see if it helps.
var error:String = e.toString()+" in init(), "+myDate.toDateString()+" "+myDate.toTimeString()+'.\n';
var error:String = '\n'+e.toString()+" in init(), "+myDate.toDateString()+" "+myDate.toTimeString();
None of those ideas worked, its still writing the file as one line. But thanks for your help.
Does anyone else have any suggestions?
I figured it out, i was trying to open the .txt file with notepad. When i opened it with this other text editor, UltraEdit, it worked. To get it to work in notepad, i used "\r\n" rather than just "\n"