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

#1 2012-05-16 11:22:40

sjmhrp
New Scratcher
Registered: 2011-05-24
Posts: 27

Case insensitive

I'm making an encoder/decoder and have almost finished but there is one problem: the <() = ()> block isn't case sensitive so it can't detect capital letters. Any ideas?

Offline

 

#2 2012-05-16 13:57:09

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Offline

 

#3 2012-05-16 14:45:05

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Case insensitive

the

<[a list v] contains [a thing]>
block IS case sensetive, though. Make a list of all uppercase letters and all lowercase letters, then I think you might figure the rest out from there  smile


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#4 2012-05-17 03:36:07

sjmhrp
New Scratcher
Registered: 2011-05-24
Posts: 27

Re: Case insensitive

ok will do that thnx

Offline

 

#5 2012-05-17 10:40:58

ManaUser
Scratcher
Registered: 2009-03-11
Posts: 100+

Re: Case insensitive

Funny, I just "discovered" that the other day. It doesn't seem to work in Flash (including 2.0) however.


http://i.imgur.com/SPYSM.gif http://i.imgur.com/t9k1Z.gif http://i.imgur.com/OwYVa.gif http://i.imgur.com/0qlZq.gif

Offline

 

Board footer