LibraryStack Message

Richard Gaskin ambassador at fourthworld.com
Wed Nov 23 17:50:49 EST 2016


Sannyasin Brahmanathaswami wrote:
...
 > on libraryStack
 > # do more initialization stuff here that you
 > # may prefer to encapsulate inside this script
 > end libraryStack
...
 > ?  this issue is: we don't want the initialization scripts in the
 > stack to fire everytime it is called, only on the very first "start
 > using"

If you don't want your global library to handle all libraryStack 
messages you can add a condition like:

on libraryStack
   if the short name of the target <> the short name of me then
      pass libraryStack
   end if
   # do more initialization stuff here that you
   # may prefer to encapsulate inside this script
end libraryStack


-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list