# \#for-each

**URL:** https://community.thunkable.com/tag/for-each/555.md

[Latest](https://community.thunkable.com/latest.md) · [Categories](https://community.thunkable.com/categories.md) · [Tags](https://community.thunkable.com/tags.md)

---

## [For loop execution time](https://community.thunkable.com/t/for-loop-execution-time/2619990)

<div class="topic-metadata">

**Author:** [@Giuseppe\_Geppo\_Catta](https://community.thunkable.com/u/Giuseppe_Geppo_Catta)\
**Replies:** 7\
**Last updated:** [September 29, 2023, 2:52pm UTC](https://community.thunkable.com/t/for-loop-execution-time/2619990 "2023-09-29T14:52:25Z")

</div>

I have a 1000 row google sheet as Datasource. In a for loop I’m populating a list performing a test for every element of the list But it takes a very long time to execute the for loop. Is it a web preview problem or a…

---

## [Item in list but the function do not find it](https://community.thunkable.com/t/item-in-list-but-the-function-do-not-find-it/2071303)

<div class="topic-metadata">

**Author:** [@alex\_ezacae](https://community.thunkable.com/u/alex_ezacae)\
**Replies:** 5\
**Last updated:** [October 6, 2022, 7:13am UTC](https://community.thunkable.com/t/item-in-list-but-the-function-do-not-find-it/2071303 "2022-10-06T07:13:47Z")

</div>

hello all, I am doing an app that is doing scan of EAN and I have a strange behavior on list. the text2 gives me 1 but the text3 gives me 0 do you have any ideas ? maybe I am too tired to see something obvious …

---

## [Recursive function to look up multiple occurrences of data in a Firebase/JSON structure](https://community.thunkable.com/t/recursive-function-to-look-up-multiple-occurrences-of-data-in-a-firebase-json-structure/1870235)

<div class="topic-metadata">

**Author:** [@paulovaz72](https://community.thunkable.com/u/paulovaz72)\
**Replies:** 25\
**Last updated:** [May 12, 2022, 5:52am UTC](https://community.thunkable.com/t/recursive-function-to-look-up-multiple-occurrences-of-data-in-a-firebase-json-structure/1870235 "2022-05-12T05:52:36Z")

</div>

Hi Power Thunkers! This is an advanced question… I need to create a generic search function running over a Firebase database, which returns from a initial path a list with all the results found below this path. The sea…

---

## [Tip: User declared variables will NOT work in “for each” loops](https://community.thunkable.com/t/tip-user-declared-variables-will-not-work-in-for-each-loops/1865107)

<div class="topic-metadata">

**Author:** [@paulovaz72](https://community.thunkable.com/u/paulovaz72)\
**Replies:** 14\
**Last updated:** [May 7, 2022, 5:20pm UTC](https://community.thunkable.com/t/tip-user-declared-variables-will-not-work-in-for-each-loops/1865107 "2022-05-07T17:20:03Z")

</div>

Hi Thunkers! Maybe I found a bug or another “by design time-sync issue” when using the “for each” blocks with app variables different from the standard “j”. Look the blocks below, in the internal loop I used the app va…
