[ANN] HOOT: Hacked Object Oriented Transcript
wouter
wouter.abraham at scarlet.be
Tue Feb 28 15:48:47 EST 2006
On 28 Feb 2006, at 15:27, wouter wrote:
-snip-
Some corrections:
> getprop uRuggedID
> get the long id of the target
if word 1 of it is "stack" then return word 1 to 2 of it ###
in case it is a substack
if word 1 of it is "card" then return word 1 to 3 of it
> if "card" is among the words of it then
> put num of words in char 1 to offset("of card id",it) + 1 of it
> into tStart
> return (word 1 to 3 of it && word tStart to tStart + 3 of it)
> end if
-- return word 1 to 3 of it ### this wouldn't do in case of a substack
> end uRuggedID
>
> getprop uRuggedLongID
> get the long id of the target
> if word 1 of it is among the words of "card stack" then return it
> if "card" is among the words of it then
> put num of words in char 1 to offset("of card id",it) + 1 of it
> into tStart
> return (word 1 to 3 of it && word tStart to -1 of it)
> end if
-- return (word 1 to 3 of it && word -3 to -1 of it)
> end uRuggedLongID
>
Greetings,
Wouter
More information about the use-livecode
mailing list