Andy's comments and positioning...
Jeanne A. E. DeVoto
revolution at jaedworks.com
Thu Feb 12 00:56:46 EST 2004
At 10:06 PM +0100 2/10/04, Robert Brenstein wrote:
>
>What is the advantage of inserting backscript as opposed to just
>start using? Aside of course from the difference that I can insert
>script of any object as a backscript.
That's pretty much it. In a plugin, the natural place for the
openStack handler is in the stack script, and if you start using the
plugin stack, you need to put a little extra logic into the openStack
handler to make sure it doesn't run every time any stack is opened
(because it's going to be in the message path, if you start using
it). Putting the library code in a button instead sidesteps the whole
issue.
Also, it's a little easier to manage multiple libraries this way. You
can add buttons to your plugin to hold various libraries, and insert
them or not as you prefer, in a very simple way.
--
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list