[ANN] HOOT: Hacked Object Oriented Transcript

wouter wouter.abraham at scarlet.be
Mon Feb 27 21:02:38 EST 2006


On 27 Feb 2006, at 23:06, Dick Kriesel wrote:
-snip-

> ...
> set the uPropertyThatRefersToARevObject of the target \
>     to the uRuggedID of tRevObject
> ...
>
> getProp uRuggedID
>   put the long id of the target into tLongID
>   if word 1 of tLongID is not "stack" then
>     -- note: stacks do not have rugged ids
>     put word 1 to 3 of tLongID into tRuggedID
>     put offset(" of card id " & quote,tLongID) into tOffset
>     if tOffset > 0 then
>       put char tOffset to offset(space,tLongID,tOffset) - 1 \
>           of tLongID after tRuggedID
>     end if
>   end if
>   return tRuggedID
> end uRuggedID
>
> Comments?

Rugged id's are a good idea but this handler will not do the trick.
And it is difficult to deduce from this handler from where to where
or which parts of the long id is what you call the rugged id.

>
> -- Dick


Greetings,
Wouter



More information about the use-livecode mailing list