send a message to n cards

Sylvain Le Gourriérec sylvain.legourrierec at son-video.com
Mon Sep 16 09:52:01 EDT 2002


thanks


----- Original Message -----
From: "Jan Schenkel" <janschenkel at yahoo.com>
To: <use-revolution at lists.runrev.com>
Sent: Monday, September 16, 2002 4:40 PM
Subject: Re: send a message to n cards


> Hi Sylvain,
>
> Try putting this in your stack script:
>
> on sendAllCards pMessage
>   repeat with i = 1 to the number of cards \
>   of this stack
>     send pMessage to card i of this stack
>   end repeat
> end sendAllCards
>
> Now you can use sendAllCards to accomplish your goal.
>
> Hope this helped,
>
> Jan Schenkel.
>
> "As we grow older, we grow both wiser and more foolish
> at the same time."  (De Rochefoucald)
>
> --- Sylvain_Le_Gourriérec
> <sylvain.legourrierec at son-video.com> wrote:
> > hello,
> >
> >
> > I need a script that send a message from a stack to
> > all the cards of this stack.
> > how can I write it?
> >
> > thanks
> >
> >
> >
> --------------------------------------------------------------------------
-------------------------------------------------------------------
> > Sylvain Le Gourriérec  --  développement  --
> > son-video-distribution   www.son-video.com
> >
> > ------------- I am working with Windows 2000,
> > Revolution 1.1.1, MySQL 3.23 & PHP 4
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the Use-livecode mailing list