How to use mutable arrays?

In program languages, we can use: Array *mutArray = new array[] to create mutable array.
In the KM macros, I want to input N times variables, and then use the array, whose length is N.
this is my macro: the N is 3, which is fixed, could it be mutable ?
image

ask quexstion remind group create icafe.kmmacros (9.1 KB)

Yes, it can be mutable. The field where the 3 is entered in the Repeat action is a calculation field, which accepts variables. This means you can do something like this to repeat actions a mutable number of times:

image

2 Likes