Eureka! It's late, I'm tired and grouchy and I can't figure out a way to do this!
Trevor DeVore
lists at mangomultimedia.com
Fri Apr 7 12:30:05 EDT 2006
On Apr 7, 2006, at 8:24 AM, David Bovill wrote:
> David Burgun wrote:
>> if the long owner of group myIndex of theOwnerLongName =
>> theOwnerLongName then
>
> Without looking at the code - a couple of comments):
>
> I don't use the owner - due to some inconsistancy I can no
> longer remember which was only fixed by using:
>
> put the long id of groupMyIndex into myOwner
> delete word 1 to 4 of myIndex
>
> This may or may not have been fixed abd i have not tired the
> long owner...
I *think* you only run into problems with the owner when dealing with
objects that aren't on the defaultStack. When you try to use the
owner in libraries that are referring to objects in other stacks
there seem to be problems. Jerry Daniels pointed this out to me as I
was having problems with the owner returning wrong information with
some libs. I always assumed that the owner was just looking at the
long id of the target and extracting the information from it.
Apparently it doesn't. So now I use delete or word 5 to -1 with my
libs and I have been happy ever since.
--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list