Resume Next?

Frank D. Engel, Jr. fde101 at fjrhome.net
Fri Mar 4 13:17:36 EST 2005


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

Oops, my bad.  It's my Pascal background showing through ;-)

I hate C, and all the "break"s that come with it...

On Mar 4, 2005, at 12:57 PM, Alex Tweedly wrote:
> No, that doesn't do the same thing.
> The modified code will do something1, then fall through to do 
> something2 (without having incremented tNext), then fall through to do 
> something3, then increment tNext, then go round the loop and execute 
> something2 again.
>
> I think you would need to have a "break" at the end of each case 
> section for this to work properly - and once you do that, it is no 
> shorter than my original. (in fact marginally longer, because it also 
> has the "add 1 to tNext" outside the switch).

- -----------------------------------------------------------
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)

iD8DBQFCKKZA7aqtWrR9cZoRAo8GAJ9tJ1DA66pw9qKgepHBZb+XqqIWtwCfTKT/
rTRIhVGY91K4sGj3zUQse3c=
=fE6H
-----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