switch case question

Mark Swindell mdswindell at cruzio.com
Sat Oct 21 17:25:48 EDT 2006

I have a global variable gTimedTest

Depending on whether it is empty or not I want to do different things  
in a handler

How do I write this to make it happen with a switch control structure?

switch gTimedTest

case empty

case not empty
other stuff

end switch

The above doesn't work... what is the proper syntax or approach?

Thanks for your help,

More information about the Use-livecode mailing list