Code: Select all
select := [1,0,1,0]
folderct := 4
loop, %folderct%
{
a := select[a_index]
gui, 98: add, checkbox, Section checked%a% x20 y+10 vSel%a_index%
}
gui, 98: add, checkbox, checked% select[A_index]
Can the Gui,Add,Checkbox command be written without first creating variable "A"?