Linked text question

Robert Brenstein rjb at robelko.com
Thu Feb 17 09:58:02 EST 2005


>Thank you, Frank (and others),
>
>What is wrong with this expression?
>
>     repeat for each line x in field "WordList"
>       if the mouseText is among the items of line x of field "WordList" then
>         answer "HEY"
>       end if
>     end repeat
>
>Rev doesn't like line 2, but I'm not able to understand why... if I 
>replace "x" with "1" the answer command executes.  What is the 
>proper repeat syntax to get this to work?
>
>Thanks,
>Mark
>

It should be

   if the mouseText is among the items of x then

Robert


More information about the use-livecode mailing list