Thanks,
:-)
Can I sneak away by saying it was a typo ;-) ?
On Fri, 26 Nov 1999, Ard Righ wrote:
> ([ On 26 Nov 99, one witty mortal did share some wisdom... ])
>
> Hehe, a thread I can actually reply to ;o)
>
> > > for (i=0; i<3; i++)
>
> > And what about the line below ...
>
> > - for(j=0; j<3; j++);{
>
> > + for(j=0; j<3; j++){
>
> > is this correct ...
>
> Yes, it is. The semi-colon after the 2nd for loop...
>
> ie " for( j = 0; j < 3; j++);{ "
>
> ...will actually make it skip everything after the for command, ie the
> loop won't run.
>
> Simply removing the offending semi-colon should solve many
> problems IMO :o)
>
> Would it also be feasible to add a 2nd set of {} to the first for loop ?
> It may not be necessary, and it may confuse some people, but
> personally, I add {} to each for loop :o)
> Which ever you find easiest to work with though...
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]