# Length of list bug

**URL:** <https://community.thunkable.com/t/length-of-list-bug/51734>\
**Category:** Questions about Thunkable X\
**Created:** [October 13, 2018, 12:44pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734 "2018-10-13T12:44:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![WallaceGromit](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wallacegromit/32/16559_2.png) [@WallaceGromit](https://community.thunkable.com/u/WallaceGromit)\
**Post date:** [October 13, 2018, 12:44pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/1 "2018-10-13T12:44:33Z")

</div>

Is there a bug in the command length of list?  
I tried to run this very simple code on live test (Android) and the result il always 1 instead of 3, wich I expect.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/4/f452dba4ef5f3525c5361b4506365a164b33aefe.png)

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 13, 2018, 1:48pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/2 "2018-10-13T13:48:37Z")

</div>

Try removing the list component and just try to get the lenght of x

---

<div class="post-metadata">

**Author:** ![WallaceGromit](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wallacegromit/32/16559_2.png) [@WallaceGromit](https://community.thunkable.com/u/WallaceGromit)\
**Post date:** [October 13, 2018, 3:33pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/3 "2018-10-13T15:33:20Z")

</div>

Yes, that works (isn’t that a bug?)

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 13, 2018, 3:47pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/4 "2018-10-13T15:47:37Z")

</div>

I have no idea but variables can store lists by themselves so I’m not sure you need to specifiy it’s a list 🙂

---

<div class="post-metadata">

**Author:** ![WallaceGromit](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wallacegromit/32/16559_2.png) [@WallaceGromit](https://community.thunkable.com/u/WallaceGromit)\
**Post date:** [October 13, 2018, 3:56pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/5 "2018-10-13T15:56:10Z")

</div>

Ok, I am also having problems with a polyline in a map, should I open a new post?  
Anyway here is a screenshot of what works on thunkable classic:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/30f0e34f92b22c76a2ed5275e3e19d356ed39493.png)  
Same thing in thunkable X does not work:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/b/fbf9023b1c4c324bd84207e1120b614423570602.png)  
I can’t even put list and colour!

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 13, 2018, 4:01pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/6 "2018-10-13T16:01:06Z")

</div>

I’m sad I won’t be of any help on this one. You should open a new post 😕

---

<div class="post-metadata">

**Author:** ![WallaceGromit](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/wallacegromit/32/16559_2.png) [@WallaceGromit](https://community.thunkable.com/u/WallaceGromit)\
**Post date:** [October 13, 2018, 4:02pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/7 "2018-10-13T16:02:38Z")

</div>

Thank you, in the meantime I have done this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9ef1fd068b10de45b3bf17ca4ac2e0552bb22c09.png)  
wich works on the programming side, but causes the app to crash. I have to look further.  
Thank you anyway

---

<div class="post-metadata">

**Author:** ![rogmunnabhaimb3](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@rogmunnabhaimb3](https://community.thunkable.com/u/rogmunnabhaimb3)\
**Post date:** [January 4, 2021, 2:09pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/8 "2021-01-04T14:09:36Z")

</div>

Hi I am making a app on making shares I want a code for it I will send you the post

---

<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:** [January 4, 2021, 7:35pm UTC](https://community.thunkable.com/t/length-of-list-bug/51734/9 "2021-01-04T19:35:25Z")

</div>

@rogmunnabhaimb3 Welcome to Thunkable! Please start a new topic for your question. Also, it’s best to avoid replying to very old threads unless absolutely necessary.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/length-of-list-bug/51734/10 "2024-11-08T11:55:09Z")

</div>


