In an extension I'm wanting to extend the patch variable so that each patch will have additional data stored with it. This is like patches-own [myvariablename], but built into the extension. Below I found this response, which makes it look fairly difficult. However, the reply is from 2012, and I'm wondering whether this is still handled the same way, or has it become an easier change?
Thanks! -sven On Wednesday, May 30, 2012 at 5:42:31 AM UTC-4, digitaldust wrote: > > Hello List, > > how can I specify a turtle variable like turtle-own [myvariablename]? > > I see that turtle.setTurtleVariable(1, "red") sets the color of the > turtle... is there any table with all variables numbers? How can I add > a new variable then? > > thanks for your advices, > Simone > > -- > Dr. Simone Gabbriellini > > DigitalBrains srl > Amministratore > Head R&D > > mobile: +39 3403975626 > mail: simone.ga...@gmail.com <javascript:> > -- 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 netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/d5df52d3-d460-4b7d-94e3-06ab5cf8107ao%40googlegroups.com.