Refactoring is your friend / moving from 6.x to 9.x

hh hh at
Mon Dec 31 12:04:47 EST 2018

> Craig wrote:
> Not sure if this is still relevant in LC, but in HC, lock screen
> commands were queued. So the fix, so that one did not have to count
> the number of locks through perhaps several handlers, was:
> repeat until the lockScreen is false
>    unlock screen
> end repeat

Yes! Or lock only once:

if not the lockScreen then lock screen

More information about the use-livecode mailing list