From: Christian K. <kre...@in...> - 2002-03-05 15:49:42
|
Till Adam wrote: > > # Quoting enl...@li... (enl...@li...): > > I dont know if this is intentional, but there are several places (see > below), where if() clauses are terminated with a ; This is followed by a > > { > foo(); > } > > block. If this is indeed the desired behaviour, which I doubt, I find this kind of use > of blocks highly irretating. It's much worse, it breaks functionality, as the colon is interpreted as a no-op. The following code prints out "Hi!", for example: int main(int argc, char** argv) { int i = 0; if (i > 10); { printf("Hi!\n"); } } Christian. -- ________________________________________________________________________ http://www.whoop.org |