Discuss Scratch
- Discussion Forums
- » Suggestions
- » <is [string] ≡ [string] > block
- jmdzti_0-0
-
Scratcher
1000+ posts
<is [string] ≡ [string] > block
Okay, so I've been seen a lot of trouble with the < [] = [] > block, specially on complex projects like base64 encoders & decoders, SHA256, and so on. That's why I'm introducing a new idea:
—————————————————————————————————————————————————————
The < [] ≡ [] > block.
<[] ≡ []::operators>//The block visualized
- Starting up
«≡» means identical to in maths, but also in text. - Okay, how would this work?
Unlike the < [] = [] > block, this block would compare the Unicode characters of both strings, so it would be case sensitive. Let's see some comparsions here - Sure! But I'm pretty sure that there's a workaround for it
The workaround (and doesn’t support all characters):
credit to @FancyFoxy
Last edited by jmdzti_0-0 (July 3, 2024 09:40:22)
- starlightsparker
-
Scratcher
1000+ posts
<is [string] ≡ [string] > block
YES.
While I can’t think of a situation when this would be necessary on the spot, there’s definitely some situation.
Other case sensitive blocks have been suggested (not dupes, different type of blocks) but this is by far the best one imo, support.
While I can’t think of a situation when this would be necessary on the spot, there’s definitely some situation.
Other case sensitive blocks have been suggested (not dupes, different type of blocks) but this is by far the best one imo, support.
- TheCOUT-Test
-
Scratcher
5 posts
<is [string] ≡ [string] > block
Duplicate of https://scratch.mit.edu/discuss/topic/357768
- jmdzti_0-0
-
Scratcher
1000+ posts
<is [string] ≡ [string] > block
Duplicate of https://scratch.mit.edu/discuss/topic/357768Not exactly — that suggestion is about making an option, this one is about making a whole new block.
- medians
-
Scratcher
1000+ posts
<is [string] ≡ [string] > block
That suggestion would apply to every block though, including this oneDuplicate of https://scratch.mit.edu/discuss/topic/357768Not exactly — that suggestion is about making an option, this one is about making a whole new block.
- Discussion Forums
- » Suggestions
-
» <is [string] ≡ [string] > block



