# My own (the user) Score in a List

**URL:** https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769
**Category:** Questions about Thunkable X
**Created:** [June 28, 2023, 5:40pm UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769 "2023-06-28T17:40:33Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [June 28, 2023, 5:40pm UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/1 "2023-06-28T17:40:34Z")

</div>

Hi All

I need a short guidance on creating a stored list of my (the user) score per game  
I have honnestly tried many variants but unsuccessfully. It should be enough by Saving each score to a list right? And the List it self must be a “stored” rather than App or Cloud  
I only get null as response… Even if i do get a response i was not successfull in saving that into a list that increases with my scores…

@tatiang @jared

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 28, 2023, 7:59pm UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/2 "2023-06-28T19:59:44Z")

</div>

We would need to see your blocks to know why it’s not working.

Without seeing your blocks, the only thing I could suggest is to not use the List [gear] block.

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [June 28, 2023, 8:21pm UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/3 "2023-06-28T20:21:34Z")

</div>

OK Check this.  
The app variable is a “make a list”  
The Stored value value Slutpoängstored is the value after a round that i want to save in a list of all my scores - And i want to show this list of scores in the My Scores Text block… Clearer now?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/9/89f4f7305832658ce4edd85ad4798dbe654a05fe.png)

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [June 28, 2023, 8:31pm UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/4 "2023-06-28T20:31:08Z")

</div>

PS i got the list to work now - BUT the listvariable must not be a stored item - Then it fails with NULL as result. So how can i make sure the list is maintained for next run - Tomorrow for instance…?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 29, 2023, 1:26am UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/5 "2023-06-29T01:26:15Z")

</div>

Any time you use a stored variable, you have to check if it’s null when the screen opens and if so, give it an initial value (in this case, empty list).

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [June 29, 2023, 4:57am UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/6 "2023-06-29T04:57:33Z")

</div>

I understand what you mean - and i tried different version of that yesterday - without success…  
Should not this work??..  
Or am I thinking / doing something wrong here…?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/e/ae075850f365ed2539336b3e4bdeb7776b92c0f2.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 29, 2023, 7:15am UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/7 "2023-06-29T07:15:58Z")

</div>

No, keep it really simple. If stored variable myscores = null then set stored variable myscores to empty list.

Do that for every stored variable, choosing a starting value that makes sense… for a list, use empty list; for a numeric value use zero; for text use an empty string “”, etc.

---

<div class="post-metadata">

### Author: ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)
#### Post date: [June 29, 2023, 9:13am UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/8 "2023-06-29T09:13:47Z")

</div>

Ahaaa… OK Ill try that - Again Thanks  
Perfect - With a few tweeks it worked…  
Big Thankjs

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [September 27, 2023, 9:13am UTC](https://community.thunkable.com/t/my-own-the-user-score-in-a-list/2486769/9 "2023-09-27T09:13:48Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
