Array iteration

cTx_Dev

New member
Please only write in English on this forum else members may not understand. You can write in the language forums if there is one for that specific language. If you need for information about this, you can contact any moderator or 'Well-known member'.
I looked all over the site and didn't find anything teaching about the array iteration loop in the action block, I couldn't understand how it works in macrodroid.


Can anyone tell me?
 
Last edited:

Dm114

Well-known member
I looked all over the site and didn't find anything teaching about the array iteration loop in the action block, I couldn't understand how it works in macrodroid.


Can anyone tell me?
The iteration loops are made to retreive every element of an existing array/dictionary, from the first one to the last one.
 

cTx_Dev

New member
But how it does it in the actions part I don't know. I couldn't configure it, I know it needs 2 arrays, but it didn't work.

I also haven't found a situation yet where I would need to do this. Could you tell me a simple situation? 🤔
 

Dm114

Well-known member
But how it does it in the actions part I don't know. I couldn't configure it, I know it needs 2 arrays, but it didn't work.

I also haven't found a situation yet where I would need to do this. Could you tell me a simple situation? 🤔
Why do you say it needs 2 arrays?

An iteration loop is maid for one loop (the one you select in the Configure screen).

You could need to select/display only items (keys or values) matching a specific criterion, for instance...
 
Top