[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntax and redundancy
- From: Boyko Bantchev <boykobb@...>
- Date: Tue, 30 Aug 2005 20:20:53 +0300
On 8/30/05, Rici Lake <lua@ricilake.net> wrote:
> Try:
>
> DO(i, 0, 9,
> int j, k;
> j = 2 * i;
> k = i + 1;
> printf("i = %d, j = %d, k = %d\n", i, j, k);
> );
Sure, can't use commas here. Everything has its limitations,
and perfection is but a mirage :)
In this case, I'd have to write int j; int k; instead.
B.
- References:
- Syntax and redundancy, Gavin Wraith
- Re: Syntax and redundancy, David Olofson
- Re: Syntax and redundancy, Rici Lake
- Re: Syntax and redundancy, Aaron Brown
- Re: Syntax and redundancy, Adrian Perez
- Re: Syntax and redundancy, Rici Lake
- Re: Syntax and redundancy, Boyko Bantchev
- Re: Syntax and redundancy, Rici Lake
- Re: Syntax and redundancy, Boyko Bantchev
- Re: Syntax and redundancy, Rici Lake