Printing Crashes Rev in OSX

Scott Rossi scott at tactilemedia.com
Wed Feb 2 19:51:15 EST 2005


Recently, Frank D. Engel, Jr.  wrote:

> what if you want the same code to execute for both 3 and 4?  In
> C/Transcript, you can't do this:
> 
> switch whatever
> case 3, 4: do this; break;
> ...
> end switch


If you can stomach being a little verbose, you can do this:

 switch
   case whatever = 1
     do this
     break
   case whatever = 2
     do this
     break
   case whatever = 3 and whatever = 4
     do otherStuff
 end switch


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