> commence Valdis.Kletnieks _at_ vt.edu quotation: > >> The real problem is that C doesn't have a good multi-level "break" >> construct. On the other hand, I don't know of any language that has a >> good one - some allow "break 3;" to break 3 levels- but that's still bad >> because you get screwed if somebody adds an 'if' >> clause.... > > Perl's facility for labelling blocks and jumping to the beginning or end > with 'next' and 'last' may be close to what you want, but I don't know if > it's ever been implemented in a language one could sensibly use to write a > kernel. Yes, Burroughs (who?) implemented it in System Development Language (SDL) more than 20 years ago. Worked very well. ~Randy (I hope I don't find more of this thread to reply to. :( - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- Re: any chance of 2.6.0-test*?Linus Torvalds
- Re: any chance of 2.6.0-test*?Rob Wilkens
- Re: any chance of 2.6.0-test*?Valdis.Kletnieks
- Re: any chance of 2.6.0-test*?Sean Neakums
- Prev by Date: Re: any chance of 2.6.0-test*? -> goto example
- Next by Date: Re: any chance of 2.6.0-test*?
- Previous by thread: Re: any chance of 2.6.0-test*?
- Next by thread: Re: any chance of 2.6.0-test*?
- Indexes:[Main][Thread]