SaveString()

BlitzMax Forums/BlitzMax Beginners Area/SaveString()

po(Posted 2005) [#1]
I'm making a text editor and it works fine, except for a problem saving the text. When I use SaveString() to save the string, it saves all the text, except when I open it in notepad, there are those rectangle characters instead of line breaks. Any Ideas?


Perturbatio(Posted 2005) [#2]
That's because it's not saving with a newline and a carriage return, just a newline.


Beaker(Posted 2005) [#3]
Try WriteLine() instead (for each line of course).


FlameDuck(Posted 2005) [#4]
And stop using Notepad.


po(Posted 2005) [#5]
Ok, I'll use WriteLine(), thanks.