Parent of Target
bobsneidar at iotecdigital.com
Wed Aug 9 12:25:21 EDT 2017
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.
> On Aug 8, 2017, at 20:43 , Monte Goulding via use-livecode <use-livecode at lists.runrev.com> wrote:
>> On 9 Aug 2017, at 1:39 pm, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
>> is there a better way?
> Perhaps you want this?
> the long owner of the target
> 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...
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode