waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
357 stars 88 forks source link

Cannot set an empty list as variable to fill later #1278

Open dethe opened 8 years ago

dethe commented 8 years ago

I want a list of random points, but cannot initialize an empty list and then run through a loop to initialize it. I realize we disabled deleting the last element of a list because then we have no + button to add elements, but there must be a better way of dealing with that.

CelticMinstrel commented 8 years ago

It's not the ideal solution, but you could just have a separate "empty list" block.

dethe commented 8 years ago

That would solve the problem, or we could have a special row with just a + when the final element is deleted.