On Friday, October 17, 2014 5:36:01 PM UTC-5, Jason Bertsche wrote:
>
> I think we agree that there's a flaw here, and I can assure you that we, 
> the developers, *are* thinking about solutions to this.  Would it solve 
> your problem to be able to optionally specify a default value for globals 
> that is restored whenever `clear-globals` (or, by extension, `clear-all`) 
> is called?  For example, you could specify `globals [my-global = 3]` to 
> initialize `my-global` to `3`.  Personally, I think this is a pretty 
> sensible solution to something that has *always* irked me about NetLogo.
>

I think this is a great solution.   

Thanks for all of the workaround suggestions, everyone.

-- 
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.

Reply via email to