I hope this is an easy question.
I am looping over an array:
Code: Select all
StringSplit, ParamArray, sText, `n
Loop, %ParamArray0%
{
}
and each time I need to store 3 variables:
- the value in the array at position x
- the value in the array at position x+10
- the value in the array at position x+20
So, there are 3 parts in the array: 1 to 10, 11 to 20, 21 to 30. They need to come by in groups of 3: 1, 11, 21, then 2, 12, 22, then 3, 13, 23, ...
How can I code this please ?
None of the syntaxes I tried seems to work.
I use A_index, but then referring to A_Index + 10, A_Index + 20 seems impossible.
Wim