Discuss Scratch

qwertycodechamp90411
Scratcher
100+ posts

() contains item in list?

Since using a tracker is sort of annoying, why not add this block?

<[] 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)

The_Game_
Scratcher
1000+ posts

() contains item in list?

elaborate
medians
Scratcher
1000+ posts

() contains item in list?

Like this?
qwertycodechamp90411
Scratcher
100+ posts

() contains item in list?

medians wrote:

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

Powered by DjangoBB