﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1233	"""Deep"" global variables not treated as global"	jchd		"The following produces 1 warning and 1 error, both unexpected.

{{{
main()
Exit

Func main()
	varset(5)
	varview()
EndFunc

;; in large programs, the following would typically be placed in an include file

Global $unseen	;; the parser reads this (but forgets immediately?)

Func varset($val)
	$unseen = $val
EndFunc

Func varview()
	ConsoleWrite($unseen & @LF)
EndFunc
}}}

In this situation globals must precede _indirect_ usage, which is annoying.  If the parser finds the functions, it should find the global as well.

Is this fixable under reasonnable effort?"	Feature Request	closed		AutoIt		None	Rejected		
