BehaviourComposer: ignore everything before this.
Specifies declarations that will be added to the generated NetLogo file.
Begin NetLogo code:
substitute-text-area-for netlogo-declaration extensions [gis] add-declaration netlogo-declaration
End NetLogo code
A NetLogo program contains optional declarations (extensions, breed, <BREED>-own) in any order. Multiple breeds may be declared with separate breed declarations; the other declarations may appear once only. NetLogo also has declarations that the Behaviour Composer automates and need not be declared (globals, turtles-own, and patches-own).
Profiling example for speeding up your model
To discover what parts of your program are taking the most time to run you can add the Profiler extension. Change this micro-behaviour to load 'profile' and add this profile procedure. Then if you enter profile-command 100 into the command centre the next 100 ticks will be profiled.
Add NetLogo declaration was implemented by Ken Kahn on 17 May, 2013.
BehaviourComposer: ignore everything after this.