Lists
Lists store ordered collections of values and are manipulated by dedicated list Reporter and Stack blocks.
List mutation blocks
Add value to list
Appends a value to the end of selected list.
Insert at
Inserts a value at selected index in the list.
Replace at
Replaces item at selected index with new value.
Delete
Deletes item at selected index (or selected delete mode).
Clear all
Removes all items from selected list.
List value/check blocks
Item at
Returns value at selected index.
Index of value
Returns index of the first matching value in list.
Contains value
Returns whether list contains a specified value.
Size of list
Returns number of items in selected list.
List value reporter
Returns the current value of the selected list.
- Type: reporter block
- Output format example:
[item1,item2,item3] - Typical use: inspect current list content or pass the list value into compatible blocks