Code: Select all
OpenFile(1,"testfile.txt")
readstring.s=ReadString(1)
Debug Left(readstring.s,1)
readstring.s=ReadString(1)
Debug Left(readstring.s,1)
Don't forget to turn unicode executable on in the compiler options!
Whatever it is it's really wrecking my code. It's being passed around as a blank string but it evaluates true against "" and " ". I even tried #CR$, #LF$ and #CRLF#. I don't know how to evaluate against it or even detect it.
I can even copy it from the debugger as "" in ascii but if I convert it to UTF-8 in Notepad++ it turns into an empty line.