What I think we could do which I personally feel would be a bug fix is if a 
variable is declared with an initial value then reassign it if we iterate over 
the local command again.

For example:

repeat 
    local tIndex = 1
    -- tIndex is always 1 here
    repeat
        add 1 to tIndex
    end repeat
end repeat

Sent from my iPhone

> On 8 Jun 2016, at 1:19 AM, Peter TB Brett <peter.br...@livecode.com> wrote:
> 
> Unfortunately, as I understand it we can't do this at the moment without 
> breaking backwards compatibility. :-(


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to