set variable value
Assigns value to variable , where variable is any
variable which has already been declared. For more information on local variables, see the Variables page.
Examples:
set energy 5 makes the variable energy have value 5 for every turtle, assuming it has been declared as a turtle variable.
Related commands: let, to
|