On 6/12/13 3:40 PM, Walter Bright wrote:
I didn't say it was. See my other reply. In any case, if fflush is not called on subsequent writelns, it is still possible to have the first writeln succeed, the subsequent writelns fail and have main() return success.
I'm a bit surprised that there's any other response to this than: "Oh okay, then flushing only after the first write or checking whether the file is writable in the beginning doesn't work".
Andrei