Libraries‎ > ‎Library‎ > ‎

Log all patch attributes

BehaviourComposer: ignore everything before this.

I add to the log in the output window the values of all the patch attributes whose name is of the form XXX-of-patch.

Begin micro-behaviour

Log all patch attributes

Begin NetLogo code:
set log-patch-attributes true
End NetLogo code

Related Micro-behaviours

LOG-SPECIFIED-ATTRIBUTES is an example of selectively logging attributes. You can also log behaviours using LOG-ALL-BEHAVIOURS and LOG-SPECIFIED-BEHAVIOURS. SPECIFY-OUTPUT-AREA specifies up the dimensions and placement of the output area.

History

This was implemented by Ken Kahn on 3 June 2011.


BehaviourComposer: ignore everything after this.
Comments