Update variable inside foreach loop

Hi Community

I have a case that I need to decrement counter in foreach loop

is it poosible ?

My code:

local!numbers: {2, 12, 14, 22, 32},

local!counter: 100,

local!loop: a!foreach(

     local!numbers,

     /* need here to decrement the counter */

)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data