How do you create a list?

I have no idea how to make a list... Can someone help?

Select the variables category and drag a list block out

Click on right black arrow to get the number of slots you want

Fill them in

Then you can do things like set a variable to your list

image

Check out Page 46 of the manual

I'm late, but you can also:
untitled script pic

In case you don't know, something that has confused some people is if they assign a list to one variable and assign it to another variable, "both lists" get modified when "one" of them is.

set [a] to (list ...)
set [b] to (a)

What really happens is that the same list is assigned to both variables, not a copy.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.