Was wondering if anyone could help with the following issue?
It's a simple issue but I've spent hours trying to find an answer without luck
I have the following loop code that sets a variable based on the A_Index.
Code: Select all
global looprepeat = 4
Loop, %looprepeat% {
Item%A_Index% = LoopNo%A_Index%
}
I tried putting global before Item%A_Index% but it gives me an error message
"The following variable name contains an illegal character : "GroupMemberName%A_Index%"