Help: script only works when in debug mode
Ian McKnight
igmcknight at gmail.com
Sun Apr 9 15:15:54 EDT 2006
On 09/04/06, Thomas McGrath III <3mcgrath at adelphia.net> wrote:
>
> Ian,
>
>
> I was just about to respond when I saw you answered your own post.
> The without waiting is the culprit. The computer doesn't wait to move
> one while the other is moving to it's new location and as such is
> getting the wrong coordinates to figure out what the relative is. I'm
> surprised that it didn't also get the naming wrong as well.
>
> Do you even need the in 1 tick part at all?
>
> Happy scripting,
>
> Tom
Hi Tom
Thanks for your reply and explanation.
I ran the script with the line
move the selectedobject relative 18,-32
and it was so slow! Putting in
move the selectedobject relative 18,-32 in 1 millisecond (or in 1 tick)
meant it was virtually instant.
Thanks again
Ian
More information about the use-livecode
mailing list