Chained Behaviors

Mark Wieder mwieder at ahsoftware.net
Fri Jul 12 18:40:44 EDT 2013


John-

Friday, July 12, 2013, 12:12:45 PM, you wrote:

> I understand 'behaviors', I use them quite a lot of the time... I
> just don't see the need to continue with the 'chain' in xTalk... I

You don't *need* to chain them at all. Just continue working the way
you do and nothing changes.

I think it's roughly equivalent to the question of "why would I want
to put code in the stack script? Everything works fine if I just copy
and paste all this code into each of 20 buttons..." The idea that you
can put code in an object or in a group or in a card or in a stack
or... is the same sort of inheritance that behaviors, or nested
behaviors, bring to the table.

-- 
-Mark Wieder
 mwieder at ahsoftware.net





More information about the use-livecode mailing list