L
LeatherGator
I have created a long string and want to save it to a file. I create the
file fine, but there are two additional characters at the end when I view it
in a hex editor "OD" and "OA".
Here is the code I have tried:
FileOpen(1, SaveFileDialog1.FileName, OpenMode.Output,
OpenAccess.Write)
PrintLine(1, WholeString)
FileClose(1)
I can find no way to exclude this addition to my file. I tried changing to
FileOpen() with OpenMode.binary, but just got an error
Is there another way to close the file excluding these "OD" & "OA"
characters?
Thanks in advance,
Gator
file fine, but there are two additional characters at the end when I view it
in a hex editor "OD" and "OA".
Here is the code I have tried:
FileOpen(1, SaveFileDialog1.FileName, OpenMode.Output,
OpenAccess.Write)
PrintLine(1, WholeString)
FileClose(1)
I can find no way to exclude this addition to my file. I tried changing to
FileOpen() with OpenMode.binary, but just got an error
Is there another way to close the file excluding these "OD" & "OA"
characters?
Thanks in advance,
Gator