I have a function that returns the stack of an object by passing the long id of 
the object. getParentStack(the long id of me). All it does is parses the long 
id by using wordOffset to find the word "stack" then returns word tWord to -1 
of the long id. Pretty basic. 

That method can be used for anything, from the owner to the card to the first 
group etc. I don't think we need more properties per se. 

Bob S


> On Aug 8, 2017, at 20:43 , Monte Goulding via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 
>> On 9 Aug 2017, at 1:39 pm, Sannyasin Brahmanathaswami via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> is there a better way?
> 
> Perhaps you want this?
> 
> the long owner of the target
> 
> or
> 
> the long owner of me
> 
> Of course things get a bit more complicated if you want the card of or the 
> stack of the object… we really should put some read only properties in for 
> those...
> 
> Cheers
> 
> Monte
> _______________________________________________
> 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

_______________________________________________
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