"LiveCode Infinity": lexically-scoped variables and bytecode blocks

Peter TB Brett peter.brett at livecode.com
Tue Jun 7 11:19:01 EDT 2016


On 07/06/2016 16:04, Dr. Hawkins wrote:
> On Tue, Jun 7, 2016 at 4:05 AM, Peter TB Brett <peter.brett at livecode.com>
> wrote:
>
>> Variables in LCB are going to become lexically scoped (
>> https://github.com/livecode/livecode/pull/4113).  This means that
>> variables declared inside an "if" or "repeat" block won't be accessible
>> after the end of that block.
>>
>
> To have this in livecode itself is on my top 3 list . . .

Me too!

Unfortunately, as I understand it we can't do this at the moment without 
breaking backwards compatibility. :-(

                                     Peter

-- 
Dr Peter Brett <peter.brett at livecode.com>
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/




More information about the use-livecode mailing list