On Mon, Oct 13, 2014 at 9:50 AM, Marshall Abrams <[email protected]> wrote:
> Is there any possibility that I would break something if I took out
> __clear-all-and-reset-ticks and added clear-all and reset-ticks at the
> beginning and end of setup, as suggested by the comment that came with
> __clear-all-and-reset-ticks?  (The complicated model starts from code
> written by someone else a while ago, and I probably have a clear
> understanding of only about half of it at this point.)

If you make that change and it breaks, it would probably be because
there's some code in `setup` (directly or indirectly) that attempts to
read the tick counter. (Accessing the tick counter before it has been
reset causes a runtime error, rather than reporting 0 as it did in
older NetLogos.) I can't think of any other reason it would break.

Seth

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