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

#1 2010-04-03 12:01:00

InnerPivotman
Scratcher
Registered: 2010-04-01
Posts: 5

Varibles

I know this is very unspecific but i dont understand varibles.  can someone tel me how to use them and what they can be used for? thanks alot guys.   smile

Offline

 

#2 2010-04-03 12:34:46

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

Re: Varibles

Variables are used as a place to store text or numbers in. You know how some games can keep your score? You'd use a variable to keep track of it.

You could do something like this:
http://www.freeimagehosting.net/uploads/f871c255da.gif
This would make your score go up really fast, like in a survival game. You can also make it start at 0 and only go up when certain things happen.

That's not the only use of variables. You can use them for almost anything that uses a number, or even text. Plus, they're really easy to change, so you'll find them useful.


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

 

#3 2010-04-08 11:55:55

InnerPivotman
Scratcher
Registered: 2010-04-01
Posts: 5

Re: Varibles

Thanks Alot.  I finally got it   big_smile

Offline

 

Board footer