? ?1 ?2 ?3

?, ?1, ?2, ?3, ...

These special variable names refer to the inputs to a task, in order by number.

? is always equivalent to ?1.

You may not set these variables, and you may not use them except in the context of a task.

Tasks are commonly used with the primitives foreach, map, reduce, filter, sort-by, and n-values. See those entries for example usage.

See the Tasks section of the Programming Guide for more details.

Take me to the full NetLogo Dictionary