At 12:59 PM 12/12/2002 -0800, David N. Welton wrote:
OK. I'll leave it alone :) I guess it is more of a style thing - I don't know if one is actually "better" than the other.Craig Huckabee <[EMAIL PROTECTED]> writes:> For the future, I'd like to look at getting rid of the "gotos" in > the code - maybe by wrapping the whole thing in a while loop and > exiting that loop on failure. Let me know if that's OK with you. I think that that's a reasonable use of goto, myself. It simplifies the code by having one exit location. I guess the same thing could be accomplished in other ways (do { } while (0)) but that wouldn't be quite so clear.
--Craig
/ Craig Huckabee | e-mail: [EMAIL PROTECTED] /-- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/
/ Code 71B-CH | phone: (843) 218 5653 /
/ SPAWAR Systems Center | close proximity: HeyYou! /
/ Charleston, SC | ICBM: 32.78N, 79.93W /
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
