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

#1 2010-03-31 14:55:50

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

isUppercase block?(what sequence for a v-selector?)

I want to make a, uh isUpperCase block, but yeah, I'm not sure how to make a variable selector field in a block....

From what I know it looks like:

Code:

('Letter %i of %v is Uppercase?'

%i needs to be an integer entry field, and %v needs to be a var selector.
I need some way to do a boolean 'isUppercase.' and 'isLowercase' check.  big_smile

Help is appreciated.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#2 2010-03-31 17:44:02

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: isUppercase block?(what sequence for a v-selector?)

I think you meant 'letter %n of %s is uppercase?' #b #isUppercase (you must define this method)


nXIII

Offline

 

#3 2010-03-31 18:32:10

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: isUppercase block?(what sequence for a v-selector?)

nXIII wrote:

I think you meant 'letter %n of %s is uppercase?' #b #isUppercase (you must define this method)

thanks.. hmmmm. what to do now...


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#4 2010-03-31 18:48:13

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: isUppercase block?(what sequence for a v-selector?)

cds56 wrote:

nXIII wrote:

I think you meant 'letter %n of %s is uppercase?' #b #isUppercase (you must define this method)

thanks.. hmmmm. what to do now...

DOWNLOAD THE SOURCE!


nXIII

Offline

 

#5 2010-03-31 19:09:29

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: isUppercase block?(what sequence for a v-selector?)

nXIII wrote:

cds56 wrote:

nXIII wrote:

I think you meant 'letter %n of %s is uppercase?' #b #isUppercase (you must define this method)

thanks.. hmmmm. what to do now...

DOWNLOAD THE SOURCE!

I already have Scratch's image file  big_smile  I'm not that far behind.


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

Board footer