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

#1 2012-09-03 13:57:35

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Functions

Like python the len() function is similer to the length of word in scratch, but we could add functions like 'in' function

<[something] in (variable)>
and more stuff like making a word captalize and lowercase
<(variable) lowercase>
Supporters

-Me

here it is!

Last edited by pizza22 (2012-09-03 14:07:57)

Offline

 

#2 2012-09-03 14:01:32

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Functions

these have workarounds so i doub they will be added

the in function would be useful though.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#3 2012-09-03 14:02:46

pizza22
Scratcher
Registered: 2012-04-30
Posts: 500+

Re: Functions

Wes64 wrote:

these have workarounds so i doub they will be added

the in function would be useful though.

Yeah, the lowercase, you can do and import into a list and stuff, thanks, do you support?

Offline

 

#4 2012-09-03 14:04:18

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: Functions

i am neutral to this idea. i dont support it but Im not against it either


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#5 2012-09-03 14:29:26

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Functions

I guess the ST doesn't think these are necessary.

Also, these functions are in Insanity.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#6 2012-09-03 14:32:15

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Functions

I quite like the python "in" command, but there are workarounds that don't take much to code


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#7 2012-09-03 14:54:31

xJira
Scratcher
Registered: 2012-03-24
Posts: 91

Re: Functions

I support the In-Thing only, I don't think Upper- and Lowercase are really necessary..

Offline

 

Board footer