On 11/07/2015 09:13 AM, Richard Gaskin wrote:
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?
Nope. That has never worked.
I've resigned myself to making the targets of send and dispatch commands
public. The only way I can think of to get around this is to make a
public method that then calls the private one. Same thing with callback
handlers.
--
Mark Wieder
ahsoftw...@gmail.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