Thanks for answers of "how to get a list of all stacks?" put revLoadedStacks() put the mainstack stacksinuse
all good! But, they return different results....very interesting... stackInUse does not include some stacks reported by "revLoaderStacks()" both lists have their use cases... but the mainstacks return all stacks, including those in use by the Rev/IDE... less useful with stacks more and more use as "views" in an MCV architecture. They do not appear in "stackInUse" but the DO appear in revLoaderStack(). That is a useful distinction. ----------- No one answers the other question, so I will ask it here, as it goes to Message Hierarchy "put gotSomeFruit() into tBanana" where " gotSomeFruit ()" is among the functions/handlers is found among "stackInUse". ie. You DO get an returned result from the function. But, sometimes, in the Script Editor, "Get Definition" is dimmed. Is this a known bug? BR _______________________________________________ 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