Eng:List Blocks

The List blocks are a subcategory of the Data blocks group. They are color-coded red, and are used to manipulate lists.

There are currently six Stack blocks, three Reporter blocks and a Boolean block in this category.

Blocks
Scratch 2.0 has the following six List Stack blocks:


 * add [thing] to [list v]
 * delete (1 v) of [list v]
 * insert [thing] at (1 v) of [list v]
 * replace item (1 v) of [list v] with [thing]
 * show list [list v]
 * hide list [list v]

Scratch 2.0 has the following three List Reporter blocks:
 * 2.0 (list).png
 * (item (1 v) of [list v])
 * (length of [list v])

Scratch 2.0 has the following List Boolean block:
 * ([list v] contains [thing])</sb>