globals
[variable-list]
Parameters:
Description:
Creates global variables. The variable-list contains one or more names. The globals declaration should be placed at the top of the observer procedures window or the turtle procedures window.
Examples:
globals [variable1 variable2 variable3]
Creates globals variable1, variable2, and variable3.
Related Commands:
patches-own
turtles-own