Dear all
Suppose i have two lists stored in two different locals:
list1 one two three four five
list2 six seven eight nine ten
I would like to loop over each list but the loop is like 50 lines long. I was wondering if it is possible to loop over both locals at the same time? And store "results" relating to each list separately?
Or is there another way of doing this without looping?
Thank you.
Suppose i have two lists stored in two different locals:
list1 one two three four five
list2 six seven eight nine ten
I would like to loop over each list but the loop is like 50 lines long. I was wondering if it is possible to loop over both locals at the same time? And store "results" relating to each list separately?
Code:
foreach x of local list1 list2 { . . . local result1 = one1 two1 three1 four1 five1 local result2 = six2 seven2 eight2 nine2 ten2 }
Thank you.
Comment