Storing a List in a Cloud Variable

  scripts
  sprites
See inside
Instructions

The problem with storing a list of numbers in a cloud variable is that you can't include any "delimiters" (data separators) so you don't know when one number starts and the next ends. To solve this you have to pad all the numbers with leading zeroes so they are all the same length. You then include that length as the 1st number in the cloud variable so you can extract the numbers from the list later.

This program shows you how to do it. I've included some comments in the code to help explain things.

Notes and Credits

Shared: 29 May 2013 Modified: 25 Jun 2013
Favorite this project 10
Love this project 12
Total views 348
View the remix tree  1
  
More projects by mwiedmann