Hi all
I have this code
Opt("MustDeclareVars", 1)
local $var1 = "test"
foo()
func foo()
ConsoleWrite("var1: " & $var1 & @LF)
EndFunc
Because I can show the value of $var1 inside function foo()?
I think that if $var1 is a local variable should not propagate within func
and in this case I should receive an error.
What do you think?