Escape Sequences File I/O

BlitzMax Forums/BlitzMax Programming/Escape Sequences File I/O

I'm trying to write BMX code from withing one of my own BM Programs, and as a proof of concept I've been running a few test programs.

To the point, when I write "Hi~nHi~n" to the .txt file it doesn't work when I reload it. However when I use the print command directly it works perfectly.

How do i use escape sequences in File Output, (Working like they do in print) then re-reading them back like they were originally?