This sounds like a bug. `__reload` (and especially the file menu) should clear globals and run `startup`. I've opened an issue for this problem here <https://github.com/NetLogo/NetLogo/issues/1284>.
On Sat, Jan 7, 2017 at 10:26 AM, Alan Isaac <[email protected]> wrote: > Is it intentional that `__reload` does not run `startup` and does not > `clear-globals`? > (This is true even if the `File` menu is used.) This seems > counterintuitive, and > it seems almost certain that different behavior is sought when the file > menu is used. > If the behavior is intentional, is there an incantation for "fresh start"? > > Thanks, Alan > (NetLogo 6.0) > > -- > You received this message because you are subscribed to the Google Groups > "netlogo-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
