Code: Select all
aa()
aa()
{
a:="outvar"
bb()
bb()
{
b:="a"
MsgBox %b% ; print not thing
}
}
Code: Select all
aa()
aa()
{
a:="outvar"
bb()
bb()
{
b:="a"
MsgBox a ; outvar
MsgBox %b% ; outvar
}
}
Code: Select all
aa()
aa()
{
a:="outvar"
bb()
bb()
{
b:="a"
MsgBox %b% ; print not thing
}
}
Code: Select all
aa()
aa()
{
a:="outvar"
bb()
bb()
{
b:="a"
MsgBox a ; outvar
MsgBox %b% ; outvar
}
}
Dynamic variable references inside a nested function can resolve to variables from the outer function only if the nested function (or one of its own nested functions) also contains a non-dynamic reference to the variable.