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

#1 2010-04-15 13:57:52

RacerZmanx1
Scratcher
Registered: 2009-01-01
Posts: 54

What do it do?

Sorry about stealing title from Phineas and Ferb by the way, if anyone noticed.

Anyhow, I need to know what the 'mod' block in Operations does. I'M SO CURIOUS

And, continuing on from the last topic I started, I just figured out that the method I chose for turning all x/y positions into 3-digit numbers doesn't work for turning negatives into 3-digit-with-a-minus-sign-on-the-front numbers.

If there's a way to remove a 'letter' from a 'word', like you can join them, I'd also like to know that. I could then 'remove' the minus sign, make it 3-digit as normal, then add it at the end.


Fight for what is good, fight against what is bad, and be as epic as the entire Pokemon series while doing so.

Offline

 

#2 2010-04-15 14:54:52

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: What do it do?

Ok 1.
Mod is the remainder of diving 2 numbers.

2. You can use (abs) of ( ) so that you always get a positive number.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#3 2010-04-15 15:36:12

RacerZmanx1
Scratcher
Registered: 2009-01-01
Posts: 54

Re: What do it do?

Thanks!


Fight for what is good, fight against what is bad, and be as epic as the entire Pokemon series while doing so.

Offline

 

Board footer