Discuss Scratch
- Discussion Forums
- » Announcements
- » Update on Cloud variables
- 974625sdn
-
28 posts
Update on Cloud variables
no. I want to have more than ten cloud variables in a project.
- Gravitation
-
100+ posts
Update on Cloud variables
Forgive my ignorance, but what is the status of cloud strings and lists?
- cwrivera99
-
500+ posts
Update on Cloud variables
Yeah, same. I'd like to know when I can create more advanced projects with cloud data. Forgive my ignorance, but what is the status of cloud strings and lists?
- SilverEagle
-
500+ posts
Update on Cloud variables
All I want is cloud strings, lists, and no limit in each project. 

- cwrivera99
-
500+ posts
Update on Cloud variables
That's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
- Firedrake969
-
1000+ posts
Update on Cloud variables
You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.

- cwrivera99
-
500+ posts
Update on Cloud variables
I'm not going to use it for negative numbers. I know how to encode them. I just want to use the - symbol to create separated strings. It's my special data storage format.You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
- TM_
-
1000+ posts
Update on Cloud variables
But you also can already encode seperate strings
That's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new 


- cwrivera99
-
500+ posts
Update on Cloud variables
I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode seperate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new

Last edited by cwrivera99 (Oct. 23, 2013 17:03:17)
- Nathanator1416J
-
100+ posts
Update on Cloud variables
This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
Last edited by Nathanator1416J (Oct. 23, 2013 22:46:58)
- 19f8361
-
500+ posts
Update on Cloud variables
yesThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
- cwrivera99
-
500+ posts
Update on Cloud variables
I said I didn't need letters. I just need numbers.This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
Last edited by cwrivera99 (Oct. 23, 2013 22:56:23)
- 19f8361
-
500+ posts
Update on Cloud variables
can't do letters, will set to 0I said I didn't need letters. I just need numbers.This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
- cwrivera99
-
500+ posts
Update on Cloud variables
You can do letters using a double encoding system.can't do letters, will set to 0I said I didn't need letters. I just need numbers.This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
- Nathanator1416J
-
100+ posts
Update on Cloud variables
still, it could be done more efficiently. For example, a format like:I said I didn't need letters. I just need numbers.This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
———————————————————————————————————–
9 | 09 | 1 | 12
Parse Key | Data block | If 2, then end of number. | Data block
So no 0 beginnings | | If 3, then end of list |
———————————————————————————————————–
—————————————————————————————————-
| 2 | 07 | 3 |
| If 2, then end of number | Data block | If 2, then end of number |
| If 3, then end of list | | If 3, then end of list |
—————————————————————————————————
So that the final inputted number into the cloud var is: 9091122073
Representing the number list of 912 and 7
See how simpler it could be???
Last edited by Nathanator1416J (Oct. 23, 2013 23:18:14)
- cwrivera99
-
500+ posts
Update on Cloud variables
I didn't get that… Can you put it in scratchblocks?still, it could be done more efficiently. For example, a format like:I said I didn't need letters. I just need numbers.This is kind of inefficient, isn't it???? You could just do what he said, and encode using two digit numbers, or if you want small code, use unary with ending zeros (Then keep looping through the 1s till you find an end 0, then find that item in a list of characters (Or numbers, all the same), and repeat until you're finished decoding the variable. But binary??? Not only does it not have high compression ratios, its code would have to read each binary code, and convert it to decimal so you could calculate what character of the string you wanted.I'm looking to separate numbers from other numbers, not letters from other letters. Although I think I've found a different way of doing it- I'm gonna use binary code. But you also can already encode separate stringsThat's how my high-score-list in seesaw balance works. In my method i use lists, which are used to code and encode. the list has less than 100 items, so always 2 numbers are joined to one and then it looks for this item. But when you have a 00 you can't encode it to the sing which is in the 0th item of the list. So it knows, when there is a 00, it has to be something new
———————————————————————————————————–
9 | 09 | 1 | 12
Parse Key | Data block | If 2, then end of number. | Data block
So no 0 beginnings | | If 3, then end of list |
———————————————————————————————————–
—————————————————————————————————-
| 2 | 07 | 3 |
| If 2, then end of number | Data block | If 2, then end of number |
| If 3, then end of list | | If 3, then end of list |
—————————————————————————————————
So that the final inputted number into the cloud var is: 9091122073
Representing the number list of 912 and 7
See how simpler it could be???
- Firedrake969
-
1000+ posts
Update on Cloud variables
Then package them with a maximum length!I'm not going to use it for negative numbers. I know how to encode them. I just want to use the - symbol to create separated strings. It's my special data storage format.You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
Though I agree… or use spaces or dots (.) or something. However, as I understand, multiple - or . or " ' are considered strings.
- cwrivera99
-
500+ posts
Update on Cloud variables
Spaces or periods don't work. ONLY numbers are accepted- no exceptions.Then package them with a maximum length!I'm not going to use it for negative numbers. I know how to encode them. I just want to use the - symbol to create separated strings. It's my special data storage format.You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
Though I agree… or use spaces or dots (.) or something. However, as I understand, multiple - or . or " ' are considered strings.
Define [String] Contains Unaccepted Characters?
Delete (all v) of [AcceptChar v]
Set [Counter v] to [0]
Repeat (10)
Add (Counter) to [AcceptChar v]
Change [Counter v] by (1)
End
Set [Output v] to [False]
Set [Counter v] to [0]
Repeat (Length of (String))
Change [Counter v] by (1)
If <Not <[AcceptChar v] Contains (Letter (Counter) of (String))
Set [Output v] to [True]
End
End
Last edited by cwrivera99 (Oct. 24, 2013 00:14:13)
- Nathanator1416J
-
100+ posts
Update on Cloud variables
by the way, this is what I meant:Spaces or periods don't work. ONLY numbers are accepted- no exceptions.Then package them with a maximum length!I'm not going to use it for negative numbers. I know how to encode them. I just want to use the - symbol to create separated strings. It's my special data storage format.You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
Though I agree… or use spaces or dots (.) or something. However, as I understand, multiple - or . or " ' are considered strings.Define [String] Contains Unaccepted Characters?
Delete (all v) of [AcceptChar v]
Set [Counter v] to [0]
Repeat (10)
Add (Counter) to [AcceptChar v]
Change [Counter v] by (1)
End
Set [Output v] to [False]
Set [Counter v] to [0]
Repeat (Length of (String))
Change [Counter v] by (1)
If <Not <[AcceptChar v] Contains (Letter (Counter) of (String))
Set [Output v] to [True]
End
End
http://scratch.mit.edu/projects/13543102/
- cwrivera99
-
500+ posts
Update on Cloud variables
Oh, okay. But I already made my project.by the way, this is what I meant:Spaces or periods don't work. ONLY numbers are accepted- no exceptions.Then package them with a maximum length!I'm not going to use it for negative numbers. I know how to encode them. I just want to use the - symbol to create separated strings. It's my special data storage format.You can already encode negative numbers w/o the dashThat's asking a lot, especially since cloud data is still being tested. All I want is to be able to do is to encode negative numbers using the dash character (-). This may seem like a small step, but I plan to do MUCH more than encode negative numbers with this character… I'm going to use it to create separated strings. All I want is cloud strings, lists, and no limit in each project.
Though I agree… or use spaces or dots (.) or something. However, as I understand, multiple - or . or " ' are considered strings.Define [String] Contains Unaccepted Characters?
Delete (all v) of [AcceptChar v]
Set [Counter v] to [0]
Repeat (10)
Add (Counter) to [AcceptChar v]
Change [Counter v] by (1)
End
Set [Output v] to [False]
Set [Counter v] to [0]
Repeat (Length of (String))
Change [Counter v] by (1)
If <Not <[AcceptChar v] Contains (Letter (Counter) of (String))
Set [Output v] to [True]
End
End
http://scratch.mit.edu/projects/13543102/
- Discussion Forums
- » Announcements
-
» Update on Cloud variables