[ANN] HOOT: Hacked Object Oriented Transcript

Dick Kriesel dick.kriesel at mail.com
Tue Feb 28 04:21:35 CST 2006


On 2/28/06 2:06 AM, "Geoff Canyon" <gcanyon at inspiredlogic.com> wrote:

> getProp uRuggedID
>    get the long id of the target
>    if word 1 of it is "card" then return word 1 to 3 of it
>    if "card" is among the words of it then return (word 1 to 3 of it
> && word -7 to -4 of it)
>    return word 1 to 3 of it
> 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 return (word 1 to 3 of it
> && word -7 to -1 of it)
>    return (word 1 to 3 of it && word -3 to -1 of it)
> end uRuggedLongID

What about a control on a card in a substack?
 
-- Dick





More information about the use-livecode mailing list