Help: script only works when in debug mode

Ian McKnight igmcknight at gmail.com
Sun Apr 9 09:07:32 EDT 2006


Hi

Providing an answer to my own post here.

It seems to be a timing problem. When I replace

move the selectedobject relative 18,-32 without waiting

with

move the selectedobject relative 18,-32 in 1 tick

the code executes perfectly.

But setting the lockmoves property to true before the loop initiates 
and to false after has no effect.



Thanks

Ian McKnight


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 08/04/2006





More information about the use-livecode mailing list