Mark, thanks for your quick reply.

I have another question, if you don’t mind.

Is there any difference, especially performance-wise, between these two 
approaches:

1. Library code is in the library stack’s script and it’s activated by
_start using stack “libraryCode”

2. Library code is distributed to different buttons of a card of the main stack 
and it’s activated by
_repeat with x=1 to the number of buttons of card “libraryCode”
__insert the script of button x of card “libraryCode” into back
_end repeat


Thanks,

~ Ender

From: Mark Schonewille Mark Schonewille
Reply: Mark Schonewille m.schonewi...@economy-x-talk.com
Date: February 13, 2014 at 13:19:32
To: How to use LiveCode use-livecode@lists.runrev.com
Subject:  Re: Best Practice for Library Stacks  
Hi Ender,  

Stacks in use receive messages at stack level, not at card level.  

Use a button for each part of your library and use backscripts and 
frontscripts.  

--  
Best regards,  

Mark Schonewille  

_______________________________________________
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