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 writes a string and appends a CR/LF at the end.
So this should do what you want.
WriteLine f, TextAreaText(g_text)