Code: Select all
Parse := 2
var := 3
; Interpreted as a parsing loop
Loop Parse + var
Msgbox "Loop 1:`t" A_index "`t" A_LoopField
; Interpreted as Loop count
Loop Parse+var
Msgbox "Loop 2:`t" A_index "`t" A_LoopField
; Load time error - not interpreted as loop count due to variable named 'Parse'
;Loop Parse . var
; Msgbox "Loop 3:`t" A_index "`t" A_LoopField
I prefer it without the comma, for some reason I've become unfond of initial commasHaving no particularly good reasons for allowing a comma here may mean this leads to removing the comma entirely, or maybe not
Cheers.