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

#1 2008-09-05 19:07:58

keroro645
Scratcher
Registered: 2008-06-07
Posts: 1000+

simple projects using lists.

I still dont know how i could use lists.

Offline

 

#2 2008-09-05 20:06:57

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: simple projects using lists.

Just use them when you need a lot of similar variables. Say you want a list of fruit, instead of making ten different variables make 1 list called fruit and put all the fruits in the list.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2008-09-05 21:51:52

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: simple projects using lists.

A good example is the mouse recorder program that comes with 1.3. Check the boxes next to the names of the lists to see how lists act...


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#4 2008-09-05 22:36:26

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: simple projects using lists.

keroro645 wrote:

I still dont know how i could use lists.

Say you want to store 6700 lines of text...and then print pieces of them out again...

http://scratch.mit.edu/projects/Paddle2See/258582


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer