to setup
  ca
  reset-ticks
end

to go
  tick
  if ticks > 100 [stop]
  show (word "ticks: " ticks)
end


In the command center, enter `setup` and then `loop [go]`.  After `show` is 
called for the last time, enter `show ticks` at the command center.  You 
will see that we are still looping.

My understanding is that we should break out of the `loop` when `go` 
executes `stop`.  Am I reading the documentation correctly?

(NetLogo 5.2 on Win 7)


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