what about putting the process into the library stack files themselves? 

For example, when I use my CouchDB library I also load fastJSON:

on libraryStack
     if "couchDBLib" is not among the lines stacksInUse then start using
stack "couchDBLib"
     if "fastJSONlib" is not among the lines stacksInUse then start using
stack "fastJSONlib"
end libraryStack

on releaseStack
     if "couchDBLib" is among the lines stacksInUse then stop using stack
"couchDBLib"
     if "fastJSONlib" is among the lines stacksInUse then stop using stack
"fastJSONlib"
end releaseStack

note that using "is among" and "is not among" is not optional otherwise you
end up in an infinite loop



-----
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Seeking-recommendations-suggestions-for-use-of-library-stacks-tp4714836p4714910.html
Sent from the Revolution - User mailing list archive at Nabble.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

Reply via email to