Discuss Scratch
- Discussion Forums
- » Requests
- » Question (Help) Using the make a list
- roeepalmon123
- Scratcher
12 posts
Question (Help) Using the make a list
Hello, I have a question.
My question is how do you make it so that if you have a list and there is an item in there already, how do you make it so it doesn't get added again? So basically it doesn't repeat? Please make a scratch project and show me if you know.
My question is how do you make it so that if you have a list and there is an item in there already, how do you make it so it doesn't get added again? So basically it doesn't repeat? Please make a scratch project and show me if you know.
(I need help with lists)
when green flag clicked
repeat (10)
move (1) steps
say [hello!]
end
- danielhal
- Scratcher
100+ posts
Question (Help) Using the make a list
You could just use
This would guarantee that it goes where its meant to.
insert [...] at (1 v) of [list v]
This would guarantee that it goes where its meant to.
Last edited by danielhal (June 3, 2014 07:18:53)
- Discussion Forums
- » Requests
- » Question (Help) Using the make a list