Mysteries of Me

Bob Sneidar bobsneidar at iotecdigital.com
Mon Oct 29 17:59:17 EDT 2018


Me always refers to the object the script belongs to. It doesn't matter which handler it is. A script running in a behavior is like running an instance of the target object (the object with the behavior set). This allows for multiple objects with the same behavior (think datagrids calling get the dgData in other dataGrids and you will immediately see why this would be necessary). This me refers to the actual behavior object, NOT the "instance object" as it were. 

As far as a backscript, are you saying you have a backscript object with a behavior assigned to it?? 

Bob S


> On Oct 29, 2018, at 08:14 , Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I thought I had a grip on "me"





More information about the use-livecode mailing list