lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


FYI, I've just been converting some tracking loop code to do the following:

    repeat

        local event = getNextMouseEvent()

        local done = event.what == "mouseUp"

        -- do the tracking work

    until done

So, obviously I would then be burned by a change that switched the scope of
the conditional. (Okay. Our linter would detect the access to the global
variable "done" and complain.)

Mark