This Me refers to the behavior object itself, not the object using the 
behavior. That is so that scripts referring to Me can be ported to a behavior 
without modification (I assume) and Me will still refer to the calling object. 
I suppose they could have used Real Me or some such thing. 

I have never actually had a need to refer to the behavior object itself in one 
of it's handlers. The only use case I can imagine is if you wanted to send or 
dispatch to call a handler in the behavior, but it's already in the front of 
message heirarchy for the calling object. 

Bob S


> On Jan 23, 2018, at 08:21 , Geoff Canyon via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> <snip> is there a reason to use "this me" which seems terribly awkward, over 
> "the behavior of me" which is to my ear far more straightforward​ (it didn't 
> require any additional code or syntax) if a bit more verbose?

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to