I have been trying to add only the contents of a list when I add it to a list, not a linked version of that list that changes whenever I change that list.
I have tried the call function, but changing the original list still changes the list added to the other list.
Hi, welcome to the Snap! Forum.
will make a shallow copy of your list. "Shallow" means that the toplevel list is different, but each item is shared:
To make a deep copy, so that items of items of ... to any depth are separate, use the RESHAPE block:
("Dimensions of" is one of the options in the "length of" block.)
I just the simple
id of block to make copies
deep copies, not shallow copies
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.