SaveString()

BlitzMax Forums/BlitzMax Beginners Area/SaveString()

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?

That's because it's not saving with a newline and a carriage return, just a newline.

Try WriteLine() instead (for each line of course).

And stop using Notepad.

Ok, I'll use WriteLine(), thanks.