# Strange variable behavior

**URL:** <https://community.thunkable.com/t/strange-variable-behavior/542563>\
**Category:** Questions about Thunkable X\
**Created:** [March 29, 2020, 10:06am UTC](https://community.thunkable.com/t/strange-variable-behavior/542563 "2020-03-29T10:06:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![funhall](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/funhall/32/92145_2.png) [@funhall](https://community.thunkable.com/u/funhall)\
**Post date:** [March 29, 2020, 10:06am UTC](https://community.thunkable.com/t/strange-variable-behavior/542563/1 "2020-03-29T10:06:15Z")

</div>

I now have tryed in several days to find out what is wrong in these blocks.  
HOW in gods name can the “I” variable write Gokart nr. 9 on picture from the phone when the count with “i” only goes to 8.  
Also the Info1\_lbl is over the text “Ikke udbedret fejl” ALSO write 9.

Bonus info is that the status is only 4 in length.  
statusList is 2 in length.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/23550ff9150d5426ecd0845b0ef61f02de82a741.png) ![IMG_2164](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/5/755d511f01eaa56a6c292e8b25e58fd5d1b58d5f.jpeg)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 14, 2020, 10:38am UTC](https://community.thunkable.com/t/strange-variable-behavior/542563/2 "2020-07-14T10:38:39Z")

</div>

@funhall this sounds like an “off-by-one” error,

Also, you have `status` and `statusList` variables - is it possible they’re mixed up?

---

<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:30am UTC](https://community.thunkable.com/t/strange-variable-behavior/542563/3 "2024-11-08T11:30:00Z")

</div>


