Writing text area to file

BlitzPlus Forums/BlitzPlus Programming/Writing text area to file

TextAreaText has CR/LF at the of each line except the last.
WriteLine writes a string and appends a CR/LF at the end.
So this should do what you want.

WriteLine f, TextAreaText(g_text)