.. perhaps it would be better to define nearby-turtles as an
agentset instead of as a list, then the distances can be
calculated as
set nearby-turtles-distances [ distance myself ] nearby-turtles
Good luck
Klaus
Prof. (i.R.) Dr. Klaus G. Troitzsch Schillerstraße 26 79713 Bad Säckingen oder Aeussere Dorfstrasse 39 3718 Kandersteg, Schweiz Telefon +49 7761 9982074/5 bzw. +41 33 6750166 klaus.g....@bluewin.ch https://www.uni-koblenz-landau.de/en/campus-koblenz/fb4/iwvi/former-rg/rgtroitzsch/klaus-troitzsch https://klausgtroitzsch.academia.edu/
--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-users/506ddc5a-12fc-48aa-b1f1-56c264260e82n%40googlegroups.com.