Discuss Scratch
- forkmanb
-
100+ posts
Unicode blocks
(edited to make it clearer) support… though wouldn't it be easier to not make a separate block and just make it an option of the “___ of” block?[unicode v] of (put this here) :: operatorsidk.. maybe someone has put this out there in the 10 pages this suggestion has.
Last edited by forkmanb (Oct. 17, 2023 19:32:11)
- TWY_
-
12 posts
Unicode blocks
support… though wouldn't it be easier to not make a separate block and just make it an option of the “___ of” block?([unicode v] of (put this here))::greenidk.. maybe someone has put this out there in the 10 pages this suggestion has.
I suppose this may be included somewhere.
To my knowledge, I think currently the only block that returns a number from a text (string) is the (length of) that can be grouped together with.
However, some minor difference is that unicode (or something like case-sensing) blocks should typically take only 1 character no matter how many characters are received. This contradicts the length block, which is supposed to accept input of arbitrary length.
This may also raise an unsolved issue about whether the code of the first character, -1, false, or other output (e.g. all codepoints concatenated by space character) to be returned if the input to some (get code of) block is empty, or contains more than 1 characters.
Last edited by TWY_ (Oct. 21, 2023 10:07:27)
- cookieclickerer33
-
1000+ posts
Unicode blocks
Here’s something
What if the provided string has move than 1 character in it
What if the provided string has move than 1 character in it
- -Cubism007-
-
500+ posts
Unicode blocks
I know, but that would also make it easier to make chatroons on Scratch. support would make cloud variables waaaaaaaaay easier
- cookieclickerer33
-
1000+ posts
Unicode blocks
How would that work?(#203)It could only check for the first one, or return a list of codepoints.
Here’s something
What if the provided string has move than 1 character in it
- Thiago_le_meilleur
-
1000+ posts
Unicode blocks
Support.
We would have more need to look for the character on the web.
We would have more need to look for the character on the web.
- wilhelm43
-
1000+ posts
Unicode blocks
Not Unicode but ASCII…anyway, use as a case detector is certainly interesting.
Support.
Support.
- thepianokid9378
-
4 posts
Unicode blocks
I SUPPORT this thread so much
Last edited by thepianokid9378 (Dec. 14, 2023 20:31:27)
- 50_scratch_tabs
-
1000+ posts
Unicode blocks
Support, the workarounds take up lots of project data space and it could be dumbed down to “character with number ()” and "number of character []". New users would likely quickly find that each character had a different number.
Last edited by 50_scratch_tabs (Jan. 30, 2025 21:22:58)