When using a binary object, I cannot seem to clear the data it holds after doing a Write String. For example:
Binary: Write string "abc"
Binary: Save to file "text.txt"
text.txt will now have "abc"
File: Delete file "text.txt"
Binary: Write string "def"
Binary: Save to file "text.txt"
text.txt will now have "abcdef"
Even if I set the cursor to 0 before writing again to the binary, it doesn't seem to help. If I create a new binary object each time I write, it works fine, but then I can't delete the binary object. Has anyone found a good workaround for this issue or is there a step I'm missing?