Seeking recommendations / suggestions for use of library stacks.
pink
nabble at mad.pink
Tue May 16 07:34:20 EDT 2017
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.
More information about the use-livecode
mailing list