stackFiles

Richard Gaskin ambassador at fourthworld.com
Sun Feb 13 23:19:25 CST 2011


Monte Goulding wrote:

> On 14/02/2011, at 3:43 PM, Mark Wieder wrote:
>> Monte-
>> Sunday, February 13, 2011, 7:49:38 PM, you wrote:
>>> I believe you will have to add the substack with the behavior
>>> buttons on it to the stackfiles too because the behavior rugged id
>>> doesn't include a mainstack reference.
>> Urk. That's quite a gotcha. Is there a bug filed against this?
>
> No idea, I never thought of it as a bug until you suggested it ;-)

I don't know that I'd call it a bug, since any stack holding behavior 
definition buttons must be loaded into memory before an object can use 
those scripts, and all stacks (whether main or sub) can be addressed by 
their unique name once they're loaded.

If you can find a way to break this I'd be interested in learning, but 
alas with the limitations of loading behavior definitions the stack 
addressing shouldn't pose a problem.

-- 
   Richard Gaskin
   Fourth World
   LiveCode training and consulting: http://www.fourthworld.com
   Webzine for LiveCode developers: http://www.LiveCodeJournal.com
   LiveCode Journal blog: http://LiveCodejournal.com/blog.irv



More information about the use-livecode mailing list