Code: Select all
p:= A_Index
Msgbox % Array_%p%_1_1
My variable Array is declared to Global in code start.
I need your help!!
Tks.
Code: Select all
p:= A_Index
Msgbox % Array_%p%_1_1
Code: Select all
arr := [1,3,5,7,9,11,13,15]
testfunc(arr)
global arr2:= [1,2,3,4,6]
testfunc2()
ExitApp
;---------------------------
testfunc(array){
loop % array.length()
msgbox % array[A_index]
for key, value in array
msgbox % "Key: " key " Value: " value
}
;---------------
testfunc2(){
loop % arr2.length()
msgbox % arr2[A_index]
for key, value in arr2
msgbox % "Key: " key " Value: " value
}
Users browsing this forum: Google [Bot] and 381 guests