It was obvious from the OP he was using Turbo C, though, so C99 didn't come into the question.
On Fri, Oct 10, 2008 at 11:40 AM, David Hamill <[EMAIL PROTECTED]> wrote: > Brett wrote: >> Which you can't do in C (you have to make all declarations >> first >> before any statements or function calls). > > True for ANSI C89, but not in C99. > From the C99 rationale: > > ----- > A new feature of C99: C89 requires all declarations in a > block to occur before any statements. On the other hand, > many languages similar to C (such as Algol 68 and C++) > permit declarations and statements to be mixed in an > arbitrary manner. This feature has been found to be useful > and has been added to C99. > ----- > > David > > > ------------------------------------ > > To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.Yahoo! > Groups Links > > > > -- ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
