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

#1 2010-02-25 08:27:13

douglasclements
Scratcher
Registered: 2010-02-25
Posts: 3

Length of list not working

My very first project (old gossip/random sentence generator)--and either I don't understand or the "length" is not working in 1.4 for lists.  The list says "2 items" -- but length of the list says the number of characters in the two words.

Offline

 

#2 2010-02-25 08:32:53

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: Length of list not working

what? thats a weird bug which version of scratch u are using.


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#3 2010-02-25 21:57:46

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Length of list not working

Be sure you are using the block under lists that says (length of [list]) and not using the numbers (length of (list).

If that is isn't it, I'm not sure what to tell you... Maybe you can post your project?

Offline

 

#4 2010-02-26 13:16:36

douglasclements
Scratcher
Registered: 2010-02-25
Posts: 3

Re: Length of list not working

Perfect! Thanks, that was it.

Offline

 

Board footer