Selecting File - New from the main menu does not erase
everything in the workspace. Instead, it only erases
all unburied procedures. As such, it violates user
expectation (in my opinion, at least).
File - New is documented as only erasing procedures, so
this may technically not be a bug. Still, since it
does not behave as users expect, I consider this both a
doc bug and a code bug.
In looking at the code, this looks like an oversight,
not a deliberate feature.
I have reproduced this behavior in MSWLogo 6.5b.
Steps to Reproduce:
1) TO X
END
2) MAKE "y 123
3) File - New
4) POALL
What Happens:
POALL still shows the definition for y.
Expected Result
POALL prints nothing, indicating an empty workspace.
Increasing priority. David Longman has made a request for me to fix this.
I have checked in a fix for this. File - New now erases all procedures, variables, and property lists (both buried and unburied). The fix will be available in FMSLogo 6.27.0.