action dependant on mainsttack

Buster wouter.abraham at scarlet.be
Sat Oct 29 11:21:26 EDT 2005


Hi,

Try this:


     if the mainstack of this stack is "beeptest" then


Greetings,
Wouter

On 29 Oct 2005, at 17:10, rev at armbase.com wrote:

> Hi All
> I'm trying to execute a handler (or in this case not execute)  
> depepndant on the
> mainstack.
>
> As  a test I made on button on a stack "beeptest" with the script
> on mouseup
>     if the mainstack is "beeptest" then
>         exit to top
>         else
>         beep
>         end if
>     end mouseup
>
>
> But it still beeps.
>
> I know it must be something simple. (apart from my brain that is)
>
> Any ideas
>
> cheers
> Bob
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list