Private Handlers

Just wondering if anyone had experience with making handlers within a script "private" such that other scripts could not call the handlers of the file.

The reason for this is a desire to give better names to chunks of a script such as "openApplication" instead of showing the 10 - 15 lines of SenseTalk required to do it.  It would be nice if there was no concern about changing it because you can prevent others from even calling it outside of the same file.

Other programming languages, such as Java generally refer to this as a private method.
Tagged:

Comments

Sign In or Register to comment.