This works:

command SomeTimer
  DoSomething
  send "SomeTimer" to me in 500 millisecs
end SomeTimer

This doesn't work:

private command SomeTimer
  DoSomething
  send "SomeTimer" to me in 500 millisecs
end SomeTimer

I can kinda understand why, but I'd like to be able to manage a timer from within a library without exposing the timer to other scripts.

Anyone know of a trick for that?

I suppose I could look at line -2 of the executionContexts, but that feels "unclean".

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
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