Switch,Case Structure

Scott Rossi scott at tactilemedia.com
Fri May 17 12:12:01 EDT 2002


> switch (myVar)
> case 1
> doOne
> break
> case 2
> doTwo
> break
> case 3
> doThree
> break
> end switch
> 
> When I do this in my handler, the switch and case lines are aligned
> rather than indented so I've probably pooched something. Any ideas?

What happens if you remove the parenthesis from myVar?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list