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

#1 2007-07-09 06:15:50

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

How could I change a variable by minus another variable?

How could I change a variable by minus another variable?


Be nice, I'm an old lady  wink

Offline

 

#2 2007-07-09 06:21:10

bigB
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: How could I change a variable by minus another variable?

set variable1 to variable1 - variable2 
or
change variable1 by (0-variable2)
i hope this helps.


http://scratch.mit.edu/projects/bigB/260981 Draw to Text
http://scratch.mit.edu/projects/bigB/181829 3D Stunt Flyer

Offline

 

#3 2007-07-09 06:23:41

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: How could I change a variable by minus another variable?

Thanks! It's for a quite complicated Scratch program about llamas... I'll put it the link when it's uploaded


Be nice, I'm an old lady  wink

Offline

 

Board footer