[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessing turtle variables
Thanks for the code for printing turtle variables. This worked fine when
I used it. However, I have placed it in a more complicated situtation.
This program is using two loops like the one you provided. The first
updates turtles synchronously, the second goes through all the turtles
and prints out their variables. However, although the first seems to be
working fine, the second crashes after the first two turtles, with a
message to the effect that no turtle matches that id. (2). A count of
turtles in the command window indicates that there are more than 2
turtles. Even in this window I cannot access the variables of
any turtles after the second.
Any suggestions?
Matt