Printing Crashes Rev in OSX

Frank D. Engel, Jr. fde101 at fjrhome.net
Wed Feb 2 19:58:17 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In Rev (Transcript) perhaps, but not in C or most other languages which 
use the switch/case/break syntax.

And you still have to remember to place those 'break' statements 
appropriately...

On Feb 2, 2005, at 7:51 PM, Scott Rossi wrote:

> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCAXcs7aqtWrR9cZoRAjHFAJ0SHOaTpLTH8y4pOGf8GLmRs0BGhQCeNplj
AUKFLUSu/tPEowJbPoMwZuY=
=BMdy
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list