Found on the Daily WTF, http://www.thedailywtf.com/forums/43223/ShowPost.aspx:
try { int idx = 0; while (true) { displayProductInfo(prodnums[idx]); idx++; } } catch (IndexOutOfBoundException ex) { // nil } The editor also comments that when he got the first few of these submitted he rejected them as being faked, but ended up with so many that he realised this usage must be relatively common. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to [EMAIL PROTECTED]