Define variable later

Certified Associate Developer

Hello!

I have a problem of following type:

a!localVariables(
  local!emptyArray: {},
  ...
  {
    ...
    a!forEach(
        ...
        a!localVariables(
            local!variableWhichChangesWithEveryIteration:{...},
            {
                /* Here I want to append the local variable's value to my empty array. Something like this: */
                a!save(local!emptyArray, append(local!emptyArray, local!variableWhichChangesWithEveryIteration))
            }
        )
    )
    /* my array will be used here */
  }
)

The problem is that value of the array won't refresh by itself (if I use saveInto in a textField, for example) and I don't know how to do it automatically...

  Discussion posts and replies are publicly visible