Netlogo documentation: variables list

this might sound like a dumb question but, does anyone know how can I get a list of the variables (including auxiliary and dummies) from my Netlogo code?

Upvotes: 0

Views: 118

Answers (1)

Nicolas Payette
Nicolas Payette

Reputation: 14972

I think the Reflexion extension might be what you're looking for.

As per the documentation:

reflection:globals reports a list with the names of all global variables breeds

and:

reflection:breeds reports a list of all breed names, and all their variables, default variables included.

Upvotes: 1

Related Questions