setvariable-of
number value
Parameters:
number |
Number |
who of a turtle |
value |
Anything |
value to set the variable to |
Description:
Sets the variable
specified of the turtle number to the value value
Examples:
setspots-of 5 10
sets the number of spots of turtle number 5 to 10
Notes:
variables must first be declared in a turtles-own, breeds-own, patches-own or globals
Related Commands:
set
setvariable
setvariable-at
setvariable-towards
variable-of