Re: variable problem is driving me nuts
Re: variable problem is driving me nuts
- Subject: Re: variable problem is driving me nuts
- From: Antonio Nunes <email@hidden>
- Date: Sun, 28 Oct 2012 13:03:36 +0100
On 28 Oct, 2012, at 12:50 , H Miersch <email@hidden> wrote:
> ok, it looks like i've sorted the original problem. but here's the next one:
>
> i have this line:
>
> for (i = 0; i++; i < count) {…}
>
> in the app delegate. Xcode keeps giving me this warning: expression result unused. WTF? that is correct syntax for a for loop, isn't it? so then why do i keep getting this warning?
> also, i have confirmed that the statements between { and } are NOT executed, no matter what. that's not right either. so WTF is going on here?
for (i=0;i<count;i++) {…}
and can we also do without the expletives please, even if abbreviated?
Thanks,
António
-----------------------------------------------------------
For to the bee a flower is the fountain of life,
And to the flower a bee is the messenger of love
--Kahlil Gibran
-----------------------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden