Escape Sequences File I/O

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

TwoCorin517(Posted 2008) [#1]
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?


Dreamora(Posted 2008) [#2]
There is no escape sequence in IO.
the escape sequences are replaced by bmk in precompile and have no runtime representation.


TwoCorin517(Posted 2008) [#3]
Thanks, I figured out the solution. Don't forget about the Quotation escape sequence though, that still exists.