This block won't report exactly if there are alike. Like if you put <(LOL) = (lol)> it will report TRUE. Wow! This ain't case sensitive! I think in 2.0 it should be case sensitive.
[blocks]<when green flag clicked>
<if> <( lol <=> LOL )>
<say[ bug detected!
<wait( 3 )secs]
<stop script>
<end>
<say[ no bug.
[/blocks]
He will say bug detected!
Last edited by zorket (2010-09-18 18:15:09)
Offline
I've known this for a while, that's why I created a case-sensitive equals boolean in BYOB for the block library.
And this is more of a suggestion, it should probably be in Suggestions.
Offline
meowmeow55 wrote:
I've known this for a while, that's why I created a case-sensitive equals boolean in BYOB for the block library.
And this is more of a suggestion, it should probably be in Suggestions.
It isn't entirely a suggestion page.
Offline
None of the string inputs in Scratch are case sensitive. It's not a bug, it just wasn't programmed in in the first place.
Offline
ScratchReallyROCKS wrote:
None of the string inputs in Scratch are case sensitive. It's not a bug, it just wasn't programmed in in the first place.
You said in twice.
Offline
zorket wrote:
I think in 2.0 it should be case sensitive.
If they changed the block so it was case-sensitive, older projects might not work the same...
Offline
zorket wrote:
ScratchReallyROCKS wrote:
None of the string inputs in Scratch are case sensitive. It's not a bug, it just wasn't programmed in in the first place.
You said in twice.
Yeah, I meant to do that.
Last edited by ScratchReallyROCKS (2010-09-18 19:53:42)
Offline
Jonathanpb wrote:
zorket wrote:
I think in 2.0 it should be case sensitive.
If they changed the block so it was case-sensitive, older projects might not work the same...
Maby ANOTHER block that is case sensitive.
Offline
By the way, in Scratch, P = p but Π ≠ π.
Offline
zorket wrote:
mathematics wrote:
By the way, in Scratch, P = p but Π ≠ π.
What?
You don't get it?
P = Latin capital letter p
p = Latin small letter p
Π = Greek capital letter pi
π = Greek small letter pi
Offline
mathematics wrote:
zorket wrote:
mathematics wrote:
By the way, in Scratch, P = p but Π ≠ π.
What?
You don't get it?
P = Latin capital letter p
p = Latin small letter p
Π = Greek capital letter pi
π = Greek small letter pi
But pi isn't alphanumeric. It's its own strange character.
Offline
coolstuff wrote:
mathematics wrote:
zorket wrote:
What?
You don't get it?
P = Latin capital letter p
p = Latin small letter p
Π = Greek capital letter pi
π = Greek small letter piBut pi isn't alphanumeric. It's its own strange character.
But А (Cyrillic capital letter a) ≠ а (Cyrillic small letter a) (in Scratch).
It seems that it's only not case-sensitive for Latin letters.
Last edited by mathematics (2010-09-20 07:48:32)
Offline
mathematics wrote:
coolstuff wrote:
mathematics wrote:
You don't get it?
P = Latin capital letter p
p = Latin small letter p
Π = Greek capital letter pi
π = Greek small letter piBut pi isn't alphanumeric. It's its own strange character.
But А (Cyrillic capital letter a) ≠ а (Cyrillic small letter a) (in Scratch).
It seems that it's only not case-sensitive for Latin letters.
Interesting discovery! I'll keep this in mind... It could be useful in a project telling you what type of character/letter something is.
Offline