How may I know in which index a loop is ?

Endercraft

Moderator (& bug finder :D)
Currently you can't do that with normal loops without another action and a variable (that you increase by one every iteration) however the iterate dictionary/array loop has a magic text for this.
 

Dm114

Well-known member
Hi

How may I know in which index a loop is during iteration?

How may I compare a month in that index with the current month?

Thanks
Press Help on Interation action to get all Magic Texts. In your case [iterator_array_index]

Inside the loop, compare this Magic Text with the month. Unless your array contains 12 entries (from 0 for January, to 11 for December): use Array(Month-1) to get the value corresponding to your Month.
 
Press Help on Interation action to get all Magic Texts. In your case [iterator_array_index]

Inside the loop, compare this Magic Text with the month. Unless your array contains 12 entries (from 0 for January, to 11 for December): use Array(Month-1) to get the value corresponding to your Month.
Great... I will try

Thanks a lot
 
Top