# Repeat block does not work

**URL:** https://community.thunkable.com/t/repeat-block-does-not-work/2495113
**Category:** Questions about Thunkable X
**Created:** [July 5, 2023, 2:28pm UTC](https://community.thunkable.com/t/repeat-block-does-not-work/2495113 "2023-07-05T14:28:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![2021457646ij5](https://avatars.discourse-cdn.com/v4/letter/2/9de053/32.png) [@2021457646ij5](https://community.thunkable.com/u/2021457646ij5)
#### Post date: [July 5, 2023, 2:28pm UTC](https://community.thunkable.com/t/repeat-block-does-not-work/2495113/1 "2023-07-05T14:28:56Z")

</div>

I would like to make a timetable app where it would check every row and if the current time is less than the time that is inputed than I would take a row of data and display at the main screen. For me to do this I would have to check every row of my data and repeat to the corresponding number of rows in that particular sheet. I put a set variable block to increment the counter for the code to go from row 1 to row 2. It is not working. I would like to know if my logic is wrong or just the blocks?

In the image below i was trying to see if the counter would increment and it didn’t

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/b/5bf44d7f07b8b03feb473cdaa3eee57239d85e76.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: [July 5, 2023, 2:51pm UTC](https://community.thunkable.com/t/repeat-block-does-not-work/2495113/2 "2023-07-05T14:51:20Z")

</div>

Did you mean to check if app variable dayoftheweek ≠ 4? All of your other if blocks have the condition = to a number.

If that’s not the problem, please post a link to your project. I would also recommend debugging using a method I detail here: [Debugging in Thunkable X (Video)](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471). That way you can tell which parts of your code are working properly and which are not.

---

<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: [October 3, 2023, 2:52pm UTC](https://community.thunkable.com/t/repeat-block-does-not-work/2495113/3 "2023-10-03T14:52:15Z")

</div>

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