So the syntax for a For-Loop is as follows:
Code: Select all
For Index, Variable in Object_Or_Array
{
MsgBox, % Variable " has the index: " Index
; More actions
}
Code: Select all
Loop, %Number_Of_Times%
{
MsgBox, % A_Index
; More actions
}
I'm simply suggesting something similar to this:
Code: Select all
For (Index, Var, Object_Or_Array) {
MsgBox, Some Actions related to the For-Loop
}
Loop (Times_Or_Type, Dir_Var_Other, Param3, Param4) {
MsgBox, Something of the sort...
MsgBox, Obviously changing the syntax and the way this entire thing works. Making it a bit more flush with the code instead of seeing brackets all on the same column.
}