This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

#1 2009-01-20 01:08:03

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

If there was a variable that saw if a number was between a certain range that would be great! It would help me "betterize"(not a real word) my ping game engine. Also just to let you guys know you are allowed to use it but if I find the code is the same I was some credit(just a little bit of credit, it won't hurt!)

IT would make sensing better and everything!


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#2 2009-01-20 02:03:56

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

If [($variable > 17) AND ($variable < 68)] {
   do stuff;
}

Offline

 

#3 2009-01-20 02:20:37

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

... Thank you! I totally did not see that! thank you!


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 

#4 2009-01-20 11:44:01

mrweston
Scratcher
Registered: 2007-12-13
Posts: 100+

Re: ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

No problem -- yeah, there's a lot of stuff you can do by combining the basics in interesting ways. Good luck with your project  smile

Offline

 

#5 2009-01-20 21:48:55

Buddy_ca111
Scratcher
Registered: 2008-08-30
Posts: 100+

Re: ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

Thanks it had been uploaded. Oops! I forgot to credit you!


By reading this you agree to giving me your soul, money, passwords, projects, abiltys and your bases

Offline

 
  • Index
  •  » Suggestions
  •  » ( [ ] to [ ] ) example:( [18] to [67] ) This should be in the numbers!

Board footer