Bug #241 was to fix CLOSE so that it unset the reader. Since CLOSEALL is documented to be equivalent to calling CLOSE on all OPENFILES, it should also reset the READER and WRITER to be the commander. This is how UCBLogo behaves.
The risk of not doing this is that FMSLogo could crash if the file stream were manipulated after the file is closed.
Steps to Reproduce:
OPENWRITE "deleteme.txt
SETWRITE "deleteme.txt
CLOSEALL
SHOW WRITER
PRINT [This should go to the commander]
What Happens:
The SHOW WRITER shows the empty string
The PRINT near the end appears to do nothing.
Note: since this is undefined behavior, results may vary. FMSLogo might crash or it might behave correctly.
Expected Result:
SHOW WRITER outputs []
The PRINT shows up on the commander history.
This has been fixed with [r5105]. The fix will be available in version 7.7.0.
Related
Commit: [r5105]