set variable value
Sets variable to the given value.
Variable can be any of the following:
- A global variable declared using "globals"
- The global variable associated with a slider, switch, chooser,
or input box.
- A variable belonging to the calling agent
- If the calling agent is a turtle, a variable belonging to the
patch under the turtle.
- A local variable created by the let command.
- An input to the current procedure.
- A special local variable (?, ?1, ?2...).
Take me to the full NetLogo Dictionary