Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!iuvax!pur-ee!pur-phy!clt From: clt@pur-phy (Carrick Talmadge) Newsgroups: comp.lang.c Subject: do-while construct Message-ID: <1511@pur-phy> Date: 8 Oct 88 00:23:22 GMT Organization: Purdue Univ. Phys Dept, W.Lafayette, IN Lines: 19 Here is something I've always wondered about with regards to C. Why is it that the syntax for do-while is do statement; while (expression) ; rather than what I'd think would be more useful: do statement; while (expression) statement; where "statement;" could of course be a compound statement. I've seen this more general construct in other languages, so it seems like it could be done. I'm curious to hear if anyone has heard a rationale for why it was left out of the language. Carrick Talmadge clt@newton.physics.purdue.edu ------- The problem with this country is, if you shoot/hang/fire one bureaucrat, they hire two more to take his place...