action dependant on mainsttack

rev at armbase.com rev at armbase.com
Sat Oct 29 11:10:14 EDT 2005


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





More information about the use-livecode mailing list