On 27/02/2010, at 5:22 PM, Adam Gerson wrote: > #define IsDemo NO;
> What am I doing wrong? Leave out the semi-colon. #define is a macro, the complete text is simply substituted for the name before compilation even starts, so you have the equivalent of if(NO;){...} which is invalid syntax. --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com