List

Print Version of List

A | B | C / D | E / F / G / H | I / J / K | L | M / N / O | P / Q | R | S | V / W / X / Y / Z

Here are a list of commands that affect lists. Note that these commands are only for lists of data. Lists of data are linked data lists, similar to lists in other versions of Logo. Unlike other Logos, however, StarLogo does not enable you to execute lists of data as instructions (that is, there is no run command). You can create a list of data using the list or sentence commands, or by enclosing the literal elements in []'s. No elements inside the []'s are evaluated.

A
ask-list-of-turtles

average-of-list

B
bf (butfirst)

bl (butlast)

butfirst (bf)

butlast (bl)

C / D
copy-list

dolist

E / F / G / H
empty?

first

fput

I / J / K
insert

item

L
last

length

list

list-of-breed

list-of-breed-at

list-of-breed-here

list-of-breed-towards

list-of-breed-with

list-of-turtles

list-of-turtles-at

list-of-turtles-here

list-of-turtles-towards

list-of-turtles-with

list?

lput

M / N / O
make-list

max-of-list

median-of-list

member?

min-of-list

mode-of-list

P / Q
pick

position

R
remove

remove-element

reverse

S
sdev-of-list

se (sentence)

sentence (se)

setitem

sort-num-list

sublist

sum-of-list

V / W / X / Y / Z
to-list

variance-of-list