Mysteries of Me

Bob Sneidar bobsneidar at iotecdigital.com
Wed Oct 31 19:00:24 EDT 2018


Me is resolving correctly for me in stack, card and behavior scripts attached to them. The issue I think was that you cannot seem to reference card <x> of me in a stack script handler. So I created handlers that return the parent card or stack of an object. The object can be the long id of a card even, when getting the parent stack, and that you can use in any reference so far as I know. 

All it's doing is forcing the full card ID or stack name resolution so the parser doesn't need to use fuzzy logic. 

Bob S


> On Oct 31, 2018, at 09:04 , J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> A guess: "me" resolves correctly for controls only. Stacks and cards are not controls, so behaviors attached to those resolve to the behavior script itself. Since there are no cards in a behavior script, it fails. Maybe.
> --
> Jacqueline Landman Gay





More information about the use-livecode mailing list