clear-globals5.2

clear-globals Observer Command

Sets all code-defined global variables (i.e., those defined inside of globals [ ... ]) to 0. Global variables defined by widgets are not affected by this primitive.

Take me to the full NetLogo Dictionary