On 12/6/06 10:59 PM, "Dar Scott" <[EMAIL PROTECTED]> wrote:
> I think your checking method is pretty clever and can be handy.
> Though the cost of a couple lines and a few microseconds might be
> much for small handlers, this might work OK for larger handlers.
When microseconds don't matter, it can be done in one line.
-- <code>
on publicHandler
privateHandler
end publicHandler
on privateHandler
if trespass() then pass privateHandler
-- private stuff
end privateHandler
-- same one liner for privateFunction and uPrivateProperty
function trespass
return item 1 of line -2 of the executionContexts is not \
item 1 of line -3 of the executionContexts
end trespass
-- <code/>
Function "trespass" can instead reside in some other library.
-- Dick
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution