I guess I could say I'm new to autoit,
up till now I have fixed all my issues on my own, but for this one I'm out of options, would appretiate any help please.
It shows EndSelect is closing Func statement:
Func example()
Select
Case $g = 0
For $h To 0 Step -1
;do stuff
Next
$g = $g + 1
Case $g = 1
For $h To 0 Step -1
;do stuff
Next
$g = $g + 1
Case $g = 2
For $h To 0 Step -1
;do stuff
Next
$g = $g + 1
Case $g = 3
For $h To 0 Step -1
;do stuff
Next
$g = 0
EndSelect
EndFunc
Thank you in advance, and as I said any help would be very much appretiated, even a link to some explanation of this problem.