This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-30 13:27:06

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Lists in Lists

^^

I think it'd be very useful, so the programming would be easier.

item (1 v) of [sublist v] of [list v]


http://i47.tinypic.com/2iaa73k.png

Offline

 

#2 2012-07-30 13:45:09

ftf841
Scratcher
Registered: 2012-02-19
Posts: 1000+

Re: Lists in Lists

I don't think i would use it much but it could help others so Support!  smile


http://mag.racked.eu/cimage/i9002/Achievement++get%21/Hi+there./mca.png
http://mag.racked.eu/mcimage/i354/Achievement++get%21/CAKE%21%21%21%21%21/mca.png

Offline

 

#3 2012-07-30 14:14:05

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Lists in Lists

It is possible to simulate an array in Scratch, though i would enjoy native support.
See: http://wiki.scratch.mit.edu/wiki/Array

Offline

 

#4 2012-07-30 14:19:25

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Lists in Lists

Umm...that seems a tad complicated...


http://i47.tinypic.com/2iaa73k.png

Offline

 

#5 2012-07-30 14:22:06

777w
Scratcher
Registered: 2009-02-10
Posts: 1000+

Re: Lists in Lists

hasnt something like this already been suggested?

Offline

 

#6 2012-07-30 14:31:14

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Lists in Lists

@berberberber Yes, it is a bit complicated, but you can easily pull it off with 3 lists:

{listname}
{listname}_lengths
{listname}_data

If you can see how this'll work, bravo.
I support, but there needs to be in option to turn it on/off in Edit; Maybe they should make an "Advanced mode".  big_smile


http://i50.tinypic.com/312u714.jpg

Offline

 

#7 2012-07-30 14:34:00

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Re: Lists in Lists

Like the motor blocks?


http://i47.tinypic.com/2iaa73k.png

Offline

 

#8 2012-07-30 16:54:12

zubblewu
Scratcher
Registered: 2011-02-17
Posts: 1000+

Re: Lists in Lists

I made a suggestion for that on scratchsuggestions


........................................................................................................................................................................................................................................

Offline

 

#9 2012-07-31 05:27:59

BirdByte
Scratcher
Registered: 2012-07-07
Posts: 1000+

Re: Lists in Lists

berberberber wrote:

Like the motor blocks?

Not really, I mean like 2 dimensional lists or lists/sprites/colors stored in variables. Kinda like in BYOB.


http://i50.tinypic.com/312u714.jpg

Offline

 

Board footer