Eureka! It's late, I'm tired and grouchy and I can't figure out a way to do this!

David Burgun dburgun at dsl.pipex.com
Fri Apr 7 10:53:09 EDT 2006


Hi,

On 7 Apr 2006, at 14:43, David Bovill wrote:

> David Burgun wrote:
>> Hi All,
>>
>> Ok, I finally found it! I knew I had the code there somewhere, it  
>> was on a PowerBook I had forgotten I had!
>>
>> Got it working now, see below. It's really quite neat! A spot of  
>> recursion every now and then is good for the soul, check it out!
>>
>> Oh, one thing that I could do with confirmation on, I am using the  
>> "long name", is this ok? Should I use the "long id" instead?
> I use the long id for uniqueness as two objects could have the same  
> long name. However the whole issue of naming gets real complicated  
> if you want portable naming - so I use either the mobile_ID which  
> is a combination of id and short sack name, which is then refered  
> to using a relative path to the file in the stackfile property.

I can't seem to get it to work using long id, the following statement  
gives an error:

       if the long owner of group myIndex of theOwnerLongName =  
theOwnerLongName then

I can't figure out how to change it for long id's. However, I've  
pasted it back and it works wonderfully, so I'm a happy bunny!

All the Best and Have a Great Weekend
Dave




More information about the use-livecode mailing list