Discuss Scratch

raisinr
Scratcher
100+ posts

new list using blocks

I am trying to create a new list using blocks. Does anyone know a way to make a block that will do that? I want the list to be made during the game and then stay there for all of the other times anyone plays.

Last edited by raisinr (Sept. 10, 2016 17:30:52)

P444
Scratcher
500+ posts

new list using blocks

Currently that would be impossible even with hacked blocks as the changes only occur for you/ for the session only and will not be seen by others if you do not save each time.
raisinr
Scratcher
100+ posts

new list using blocks

P444 wrote:

Currently that would be impossible even with hacked blocks as the changes only occur for you/ for the session only and will not be seen by others if you do not save each time.
Well can i create a new list using blocks, even if it will be made during the game and then stay only for the session?
P444
Scratcher
500+ posts

new list using blocks

Well yes, here is a demo.
amylaser
Scratcher
500+ posts

new list using blocks

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
raisinr
Scratcher
100+ posts

new list using blocks

amylaser wrote:

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
It is for this project
deck26
Scratcher
1000+ posts

new list using blocks

raisinr wrote:

amylaser wrote:

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
It is for this project
Project isn't shared.
raisinr
Scratcher
100+ posts

new list using blocks

deck26 wrote:

raisinr wrote:

amylaser wrote:

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
It is for this project
Project isn't shared.
i know, still working on it. it is a to do list.
deck26
Scratcher
1000+ posts

new list using blocks

raisinr wrote:

deck26 wrote:

raisinr wrote:

amylaser wrote:

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
It is for this project
Project isn't shared.
i know, still working on it. it is a to do list.
Not much point providing a link saying ‘it is for this project’ then!
raisinr
Scratcher
100+ posts

new list using blocks

deck26 wrote:

raisinr wrote:

deck26 wrote:

raisinr wrote:

amylaser wrote:

Why would it be necessary to create a new list each time you run the project, by the way? Is the list clone-specific? If that was the case, you will just have to use lots of local variables. But if the list is global, I don't see why you can't just create an empty list and then add/delete items whenever you need.
It is for this project
Project isn't shared.
i know, still working on it. it is a to do list.
Not much point providing a link saying ‘it is for this project’ then!
You are right
raisinr
Scratcher
100+ posts

new list using blocks

Reading about my misinterpretations on lists from 5 years ago is funny…closing.

Powered by DjangoBB