Discuss Scratch

AJ-485-STD
Scratcher
53 posts

Remove the <[list v] contains ()?> block/boolean

We already have the
 <() contains ()?> 
block/boolean from the operators section in Scratch 3.0, so why do we need a
 <[list v] contains ()?> 
block/boolean?

when green flag clicked
broadcast [Say something plz v]

when I receive [Say something plz v]
say [FOOT] for (Infinite) secs

when green flag clicked
forever
change [Infinite v] by (1)
end
jvvg
Scratcher
1000+ posts

Remove the <[list v] contains ()?> block/boolean

It's important to have, since otherwise the for list [“abc”, “def”], since the operators block for “list contains a” would return true, which the list doesn't really contain “a”. Likewise, for the list [“a”, “b”], “list contains ab” would return true.

Last edited by jvvg (Jan. 17, 2022 04:07:13)



Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
AJ-485-STD
Scratcher
53 posts

Remove the <[list v] contains ()?> block/boolean

take a look for ur self: Discussion Disagreement

when green flag clicked
broadcast [Say something plz v]

when I receive [Say something plz v]
say [FOOT] for (Infinite) secs

when green flag clicked
forever
change [Infinite v] by (1)
end
dhuls
Scratcher
1000+ posts

Remove the <[list v] contains ()?> block/boolean

AJ-485-STD wrote:

(#3)
take a look for ur self: Discussion Disagreement
their point is the blocks do different things. see for yourself.
AJ-485-STD
Scratcher
53 posts

Remove the <[list v] contains ()?> block/boolean

Okay then, guess I was wrong

when green flag clicked
broadcast [Say something plz v]

when I receive [Say something plz v]
say [FOOT] for (Infinite) secs

when green flag clicked
forever
change [Infinite v] by (1)
end
AJ-485-STD
Scratcher
53 posts

Remove the <[list v] contains ()?> block/boolean

To be closed

when green flag clicked
broadcast [Say something plz v]

when I receive [Say something plz v]
say [FOOT] for (Infinite) secs

when green flag clicked
forever
change [Infinite v] by (1)
end

Powered by DjangoBB