From Test-Scratch-Wiki

Delete () of ()
2.0 Delete () of ().png
Category List
Type Stack
Introduced in 1.3

The Delete () of () block is a List block and a Stack block. The block can delete the item inputted, the last item, or all items of the specified list depending on the option selected.

Example Uses

If there is a list of multiple items, and only one item needs to be removed, the Delete () of () block can do the job.

Some common uses for this block are:

  • Deleting redundant items
delete (1 v) of [stuff v]
add [water] to [stuff v]
  • Preparing a list when a project starts, so that new data can be added
when gf clicked
delete (all v) of [list v]

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.