Discuss Scratch
- Discussion Forums
- » Suggestions
- » () contains item in list?
- qwertycodechamp90411
-
Scratcher
100+ posts
() contains item in list?
Since using a tracker is sort of annoying, why not add this block?
If list was thing, apple, banana;
1. reports true for pineapple, bananana, thingamebob
2. reports true only for thing, apple, or banana
<[] contains item in [list v]?::list>
<[] is any item in [list v]?::list>
If list was thing, apple, banana;
1. reports true for pineapple, bananana, thingamebob
2. reports true only for thing, apple, or banana
Last edited by qwertycodechamp90411 (Aug. 9, 2023 07:32:23)
- qwertycodechamp90411
-
Scratcher
100+ posts
() contains item in list?
Like this?yeah, exactly!
Last edited by qwertycodechamp90411 (July 25, 2023 07:54:27)
- qwertycodechamp90411
-
Scratcher
100+ posts
() contains item in list?
Bump, also edit to OP
when this post created::events hat
set [page v] to [1 v]
change [views v] by [more than 0, hopefully v]
broadcast [awesome idea here! v] to all scratchers on [suggestions forum v]::events
wait for more posts::control
- Discussion Forums
- » Suggestions
-
» () contains item in list?



