Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

goto, not much worse than break/continue

Name: Anonymous 2005-02-21 17:56

Discuss.

Name: Anonymous 2005-02-22 14:17

>>5
Poor.

for ( blah; blah && done; blah ) {
    blah;
    if (error) {
        zomg = true;
        break;
    }
    blah;
    if (error) {
        zomg = true;
        break;
    }
    blah;
    if (error) {
        zomg = true;
        break;
    }
}

if (zomg) {
    fprintf( stderr, "zomg errors!" )
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List