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

#1 2011-05-19 07:15:20

wellitshould
New Scratcher
Registered: 2011-05-05
Posts: 16

variables

hi guys,

i want to make a variable stop at a certain number for example '1000' how do i do this?

wellitshould  smile

Offline

 

#2 2011-05-19 07:36:23

1906010
Scratcher
Registered: 2011-05-01
Posts: 46

Re: variables

http://i51.tinypic.com/2m4dgeg.gif

^Open in a new window or tab. My being a New Scratcher won’t let be post an image.

I hope it helps! Although a little specification on what you were using the variable for would have been nice, I gave you four nice little different ways.

Offline

 

#3 2011-05-19 09:12:25

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

Re: variables

1906010 wrote:

http://i51.tinypic.com/2m4dgeg.gif

^Open in a new window or tab. My being a New Scratcher won’t let be post an image.
I put in the IMG tags for this quote. ~sci

I hope it helps! Although a little specification on what you were using the variable for would have been nice, I gave you four nice little different ways.

I actually think the

Code:

forever
  if <<not <(variable) = [1000]>>
    change [variable] by (1)

isn't the best way to do it. ^^

Offline

 

#4 2011-05-19 15:17:24

1906010
Scratcher
Registered: 2011-05-01
Posts: 46

Re: variables

scimoster wrote:

I put in the IMG tags for this quote.

I can’t do that, I’m a new user.

Offline

 

#5 2011-05-20 04:32:44

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

Re: variables

1906010 wrote:

scimoster wrote:

I put in the IMG tags for this quote.

I can’t do that, I’m a new user.

I know that. I did it so it can be seen.  wink

Offline

 

Board footer