messages question

Yves COPPE yvescoppe at skynet.be
Thu Dec 30 14:52:19 EST 2010


Hello list,

this is a piece of a very large and complex main stack with many substacks
I have a script with a strange behavior

on preopenStack
       set the loc of this stack to the screenloc
end preopenStack

the stack is not at the screenloc

now I write this :

on preopenStack
       lock messages
       set the loc of this stack to the screenloc
end preopenStack

the stack is at the screenloc

now if I write this :

on preopenStack
       lock messages
       set the loc of this stack to the screenloc
       unlock messages
end preopenStack

the stack is not at the screenloc


So there is probably somewhere a message that disturbs the messages after the preOpenStack handler
Where can I find this
When I set a breakpoint to trace the script I don't find this message


Thank you.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list