Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mike.

macrumors newbie
Original poster
Oct 23, 2006
2
0
I have the following lines of code in a main().

Code:
	If ( 0 == 0)
	{
	NSLog(@"Hello World!");
	}

Could someone please help me understand why I'm getting a parse error in the line containing the {?
 

MrFrankly

macrumors regular
Jan 11, 2006
112
0
mike. said:
I have the following lines of code in a main().

Code:
	If ( 0 == 0)
	{
	NSLog(@"Hello World!");
	}

Could someone please help me understand why I'm getting a parse error in the line containing the {?

'If' should be 'if'
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.