[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Syntax and redundancy
- From: Rici Lake <lua@...>
- Date: Tue, 30 Aug 2005 11:49:33 -0500
On 30-Aug-05, at 11:23 AM, Boyko Bantchev wrote:
I ran it with DO(i,0,9, printf("i = "); printf("%d\n",i););
through gcc and it worked as needed.
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);
);
:)
- References:
- Syntax and redundancy, Gavin Wraith
- Re: Syntax and redundancy, Philippe Lhoste
- Re: Syntax and redundancy, Rob Kendrick
- 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