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

#1 2008-09-03 21:37:02

joeyman
Scratcher
Registered: 2008-03-28
Posts: 1000+

Okay, How do you use Lists?

I love Scratch 1.3, but how do you use lists? Someone please tell me all about lists and how to use them. (I just realized that it came out today!) Thank you!


Joeyman: On Scratch since March 28, 2008.
Over 142 projects! (And recently a Brony, and PROUD of it!)

Offline

 

#2 2008-09-03 21:41:25

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: Okay, How do you use Lists?

Easy Sample project: http://scratch.mit.edu/projects/AlanProjects/257061 this is a very good demo. you could also store a score over time like this: Wait until touching Finish line
set variable 87687876 to timer, reset timer, add 87687876 to ARRAY1. now you have a score log.

Offline

 

#3 2008-09-03 21:42:20

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Okay, How do you use Lists?

They're basically big variables that can hold more than one value at a time. You add an "item" (value) and the list can keep track of all of them at once.


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#4 2008-09-03 21:44:50

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: Okay, How do you use Lists?

GOOD FORUM TOPIC: http://scratch.mit.edu/forums/viewtopic.php?id=8299

Offline

 

#5 2008-09-03 23:59:38

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Okay, How do you use Lists?

Actually, you can technically think of it as what it is called- a list> Here is a variable:

Eggs

Here is a list:

Eggs
Salt
Pepper
Bacon
Milk
Cereal

Holds a lot more stuff, doesn't it? This one website used this analogy:

Think of a variable as box. That box only holds one value at a time. Now an array is also a box. But you can fit as many of those smaller boxes as you want in it. It was something like that


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

Board footer