pendingmessages

Martin Meili bmmeili at swissonline.ch
Wed Jun 18 10:45:00 EDT 2003


hi
What does the following script do precisely?

on mouseup
repeat with i = 1 to the number of items of the PendingMessages
cancel (item i of the pendingMessages)
end repeat
end mouseup

Does this script empty the PendingMessages  and can a command after this
script be executed?

I use this script to stop a timer (send command / updateclock). If the time
given is over the timer should be stopped and the user should be brought
back to the startscreen.

Most times the timer actually stops, but in about 10 times it's once that
the timer isn't stopped.

Can anybody comment on this and help me?

Martin







More information about the use-livecode mailing list