### n-values

#### n-values size reporter-task

Reports a list of length size containing values computed by repeatedly running the task.

If the task accepts inputs, the input will be the number of the item currently being computed, starting from zero.

    show n-values 5 [1]
    => [1 1 1 1 1]
    show n-values 5 [?]
    => [0 1 2 3 4]
    show n-values 3 turtle
    => [(turtle 0) (turtle 1) (turtle 2)]
    show n-values 5 [? * ?]
    => [0 1 4 9 16]

See also reduce, filter, ?.

Take me to the full NetLogo Dictionary