Backscript behavior
dunbarx at aol.com
dunbarx at aol.com
Fri Mar 4 15:18:34 EST 2011
Jacques:
If I have this in a button script:
on mouseUp
checkBack
end mouseUp
and this in a stack script:
on checkBack
put ""
wait 20
put random(99)
end checkBack
and then insert that stack script into back, I still only get one random number. Is that what you meant, that you might get two?
And by the way, answers are what we expect from you, not questions.
Craig
-----Original Message-----
From: J. Landman Gay <jacque at hyperactivesw.com>
To: LiveCode Mailing List <use-livecode at lists.runrev.com>
Sent: Fri, Mar 4, 2011 3:04 pm
Subject: Backscript behavior
Somebody preserve my sanity here...if a stack script is inserted into the back, and you happen to be working in that stack, are called handlers executed twice?
I'm getting some weird results. The message watcher says they aren't, and lists only one call for each handler. But the debugger steps through each one twice.
I'm inclined to think it's a debugger issue, but if not, it would explain some weird behaviors I'm seeing in my stack.
-- Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list