https://x.thunkable.com/copy/01db7549a963d739e02ab15541688bdd
I made a block as above.
I want to get [1,1,1].
However, the value comes as [ , 1,1]
How can I get the value [1,1,1] ?
https://x.thunkable.com/copy/01db7549a963d739e02ab15541688bdd
I made a block as above.
I want to get [1,1,1].
However, the value comes as [ , 1,1]
How can I get the value [1,1,1] ?
I hope to let you know if there is a better way.
I believe a storage key has to be a text string. But you are using a list of integers and then setting the key to an item in that list. So youβre trying to get a key that is an integer, not a text string.
You can either change your list to text strings (β1β and β2β and β3β) or you can join the integer values with an empty string (""):
This method is discussed here.
That doesnβt work
But it was helpful. Thank you.
Well, your keys have to match the keys in the Get call. So make sure you are using text strings for the keys when you save them AND when you get them.
You are not using the asynchronous purple block correctly, which is why errors occur. I recommend that you deal with their work - http://droidscript.ru/main/statyi/thunkablex_base7.php, otherwise you will have problems with purple blocks all the time.