﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3859	Extend For…Next syntax to force loop variable to be local within the loop only	Alecsis1		"Something like this:

{{{
Opt('MustDeclareVars', 1)
For Local $i = 1 To 3
  ConsoleWrite($i) ; prints ""123""
Next
ConsoleWrite($i)   ; now prints ""4"", but with ""Local"" modifier should be treated as ""undeclared variable""

}}}

Imho, such syntax extension may be useful.
"	Feature Request	closed		AutoIt		None	Rejected		
