empty marked cards?

Klaus Major klaus at major-k.de
Fri Sep 9 13:38:28 EDT 2005


Hi Rich,

>
> I want to let the user know that there are no marked cards when the  
> user packs "go to next marked card."
>
> This script does not work:
>
> on testMarkFind
>       go next marked card
>     if it is empty then
>       answer "none found"
>     end if
> end testMarkFind
>
>
> What does work?

Try this:

on testMarkFind
       if the number of marked cds = 0 then
       answer "none found"
     end if
end testMarkFind

:-)

> Thanks,
>
> Rich Lague

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list