Discuss Scratch

Shajiui_Da_Black_Fox
Scratcher
500+ posts

Support ALL Numbers in Cloud Variables

In cloud variables, we have numbers 0-9. But that's not ALL of the numbers. Before you say anything, read the whole post, please.


So, I was experimenting with cloud variables, and I set a variable to 三,(3).


Once I left the page, it automatically set itself to 0 again, and it didn't update the cloud data.


三 technically is a number, and 百 is too, but none of them work. And Ⅱ(not II, Ⅱ) Doesn't work either.

So, what I'm suggesting is to add support for all numbers in Cloud Vars.
gosoccerboy5
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

No support. Numbers are internationally recognized (I think) and hoping that a number like 五 will get saved is like assuming that “five” will get saved to a cloud variable. Everyone uses numerical digits. Right?

Last edited by gosoccerboy5 (Dec. 4, 2020 15:55:32)

Maximouse
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

No support. This would greatly increase the amount of data that can be stored in the cloud, making cloud chats easier to make.
Vibrato
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

gosoccerboy5 wrote:

No support. Numbers are internationally recognized (I think) and hoping that a number like 五 will get saved is like assuming that “five” will get saved to a cloud variable. Everyone uses numerical digits. Right?
They are Chinese numbers. They are used in China.
gosoccerboy5
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

..I knew that.

I'm pretty sure that Chinese keyboards have numbers 0-9, and Chinese citizens know perfectly well how to use them. As long as that's the case, I don't support. It's literally the same as expecting the cloud variable to save when you type “one” into it.


My keyboard supports Chinese but still allows me to type 1 2 3 4 5 6 7 8 9 0 so I guess I was wrong

Last edited by gosoccerboy5 (Dec. 4, 2020 16:25:34)

Shajiui_Da_Black_Fox
Scratcher
500+ posts

Support ALL Numbers in Cloud Variables

gosoccerboy5 wrote:

..I knew that.

I'm pretty sure that Chinese keyboards have numbers 0-9, and Chinese citizens know perfectly well how to use them. As long as that's the case, I don't support. It's literally the same as expecting the cloud variable to save when you type “one” into it.
I'm pretty sure it outputs the characters 零 through 十.

Also, I'm not specifically talking about Mandarin, that was just an example because that's the only other language (besides English) I can type on my computer.

Last edited by Shajiui_Da_Black_Fox (Dec. 4, 2020 16:22:55)

gosoccerboy5
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

oh. But what happens if you input "一百九十七“? Should the Scratch Team build a parser or something for every language?
Shajiui_Da_Black_Fox
Scratcher
500+ posts

Support ALL Numbers in Cloud Variables

gosoccerboy5 wrote:

oh. But what happens if you input "一百九十七“? Should the Scratch Team build a parser or something for every language?

Well, all of those individually are numbers, so I think it would be fine.
Scratcher1002
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

Shajiui_Da_Black_Fox wrote:

gosoccerboy5 wrote:

oh. But what happens if you input "一百九十七“? Should the Scratch Team build a parser or something for every language?

Well, all of those individually are numbers, so I think it would be fine.
Buut, Japanese also uses those characters as numbers, (I don’t know if the values are different between Japanese and Mandarin though) it would be 197 I believe.

Eh, support, though I think (almost) every language in the world uses (or at least tolerates) Arabic numerals.
gosoccerboy5
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

Yeah, 197. But Scratch would have to be able to read that number. And I'm not sure if the Scratch Team wants to build something that reads Chinese numbers and converts them into arabic numerals, especially if

Scratch10002 wrote:

Eh, support, though I think (almost) every language in the world uses (or at least tolerates) Arabic numerals.
Vibrato
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

gosoccerboy5 wrote:

Yeah, 197. But Scratch would have to be able to read that number. And I'm not sure if the Scratch Team wants to build something that reads Chinese numbers and converts them into arabic numerals, especially if

Scratch10002 wrote:

Eh, support, though I think (almost) every language in the world uses (or at least tolerates) Arabic numerals.
Well I mean they've already got the google translate extension, all they'd have to do is make it return numbers
cool_londos
Scratcher
4 posts

Support ALL Numbers in Cloud Variables

You know, the Chinese numbers could just be set to the number they are in English. For example, 六 (6) would be set to 6 automatically.
Purin2022
Scratcher
100+ posts

Support ALL Numbers in Cloud Variables

No support, reasons:
  1. No one use it/ not useful
  2. confusing for users of not that language speaker
  3. literally allowing people to type letters (eg. deux in French (two in English))
  4. There's too many of them (so you can say that ST didn't allow the numbers in a language where 1000 people use it)
TheoScratcher1
Scratcher
24 posts

Support ALL Numbers in Cloud Variables

You may not believe it but there is actually a way to make cloud variables support letters, symbols and numbers. Because they support only numbers, you can code the input letters/symbols/numbers all into numbers. You split them in cloud variables and then the output decodes it, making them letters and symbols again.
Purin2022
Scratcher
100+ posts

Support ALL Numbers in Cloud Variables

TheoScratcher1 wrote:

You may not believe it but there is actually a way to make cloud variables support letters, symbols and numbers. Because they support only numbers, you can code the input letters/symbols/numbers all into numbers. You split them in cloud variables and then the output decodes it, making them letters and symbols again.
A lot of us know: this is call encoding/decoding a pair of numbers with a list of letters/symbols/whatever.
That being said, your point is technially right.

Last edited by Purin2022 (May 1, 2023 19:08:30)

-ElectronicArts-
Scratcher
1000+ posts

Support ALL Numbers in Cloud Variables

Not really useful since almost all keyboards have numbers key and if you dont… f in the chat.

Powered by DjangoBB