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.
globals [ ... ]
Take me to the full NetLogo Dictionary