Filestream option
Monkey Forums/Monkey Bug Reports/Filestream option
| ||
Hi all, I just want to write a log file. Unfortunately if there is a crash, the latest messages in the stream are not written. So I just changed the filetest example from the bananas folder that way: But that doesn't work as you can easily test. Opening a file for updating ("u") writing to it and closing it afterwards doesn't work as expected. |
| ||
Hi, Update<>append - it basically just means the file isn't nuked when opened, which is what 'w' does. I'll make this clearer in the docs, and probably add 'append'... |
| ||
Ah thanks Mark, that makes sense. Yes in that case an 'append' option would be great. Or something like 'flush'? |
| ||
Have you had any chance to add this already? |
| ||
Will add it for next release. |