RG wrote:
> Inelegant, but this seems to at least block outside callers:
> 
> on SomeTimer
>     put item 1 of line -2 of the executionContexts into tCaller
>     if (tCaller is not empty) AND (tCaller <> the long id of me) then
>        exit SomeTimer
>     end if
>     --
>     DoSomething
>     send "SomeTimer" to me in 500 millisecs
> end SomeTimer

The empty tCaller will create problems.

What's wrong with this consideration?
A message is "private" with respect to "me", if the *TOP* of the message stack 
is me:

It works for me to have true
     (the long id of me is item 1 of the executionContexts)
for such a 'private' timer construct.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to