Download NetLogo 4.0.5 User Manual - Center for Connected Learning and

Transcript
NetLogo 4.0.5 User Manual
Note: This command is equivalent to setting the turtle variable "hidden?" to false.
See also hide-turtle.
show-link
show-link
The link becomes visible again.
Note: This command is equivalent to setting the link variable "hidden?" to false.
See also hide-link.
shuffle
shuffle list
Reports a new list containing the same items as the input list, but in randomized order.
show shuffle [1 2 3 4 5]
=> [5 2 4 1 3]
show shuffle [1 2 3 4 5]
=> [1 3 5 2 4]
sin
sin number
Reports the sine of the given angle. Assumes angle is given in degrees.
show sin 270
=> -1
size
size
This is a built-in turtle variable. It holds a number that is the turtle's apparent size. The default size is
1, which means that the turtle is the same size as a patch. You can set this variable to change a
turtle's size.
sort
sort list-of-numbers
sort list-of-strings
sort agentset
NetLogo Dictionary
369