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

#1 2010-03-29 04:30:53

yuzhouhua
Scratcher
Registered: 2010-03-29
Posts: 9

how to assignment the value of variable A to variable B ?

I do not know how to assignment the value of variable A to variable B in Scratch.

It looks like that the scratch just support constant assignment.

Anybody can help? thanks a lot!

Offline

 

#2 2010-03-29 17:41:12

bobbysq
Scratcher
Registered: 2007-06-26
Posts: 100+

Re: how to assignment the value of variable A to variable B ?

try
[blocks]<set{ B  }to( <{ A  }>[/blocks]
or the other way around


originals forever!

Offline

 

#3 2010-03-29 18:10:50

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

Re: how to assignment the value of variable A to variable B ?

Use this script:
http://www.freeimagehosting.net/uploads/ba48c02168.gif


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

 

#4 2010-03-30 05:11:44

yuzhouhua
Scratcher
Registered: 2010-03-29
Posts: 9

Re: how to assignment the value of variable A to variable B ?

Thank you all.

I got a wrong understanding about <set{  }to(

I thought the blank is filled only by constant .

Offline

 

Board footer