when sent a message, the target can't find itself!

Kay C Lan lan.kc.macmail at gmail.com
Sun Aug 5 00:00:11 EDT 2012


On Sun, Aug 5, 2012 at 11:27 AM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:

> put quote & "Sum" & quote into word 8 of tSummaryFldName
> -- field "Sum" of card "Sum" of stack "Sum"
>
> Whoops, a gotcha, if you need to refer to a substack of a mainstack then
it's name would be (assuming the main stack is called "Stk1"

field "Sum" of card "Sum" of stack "Sum" of stack "Stk1"

You need to include the reference of the mainstack.

If you have the logic that can build the long reference to the fields
involved, then you can use get/set syntax to do the math.

HTH



More information about the Use-livecode mailing list