PDA

View Full Version : AAGGRRR! the first app in the book doesn't work!!!




tominated
Jan 26, 2007, 12:54 AM
I just bought Programming in Objective-C by Stephan Kochan and the first program in the book doesn't work!!! in the build error window it says "parse error befor 'return'! WTF DOES THAT MEAN!!! I bought the book to make better apps, not to make ones that don't even build!!! why is it doing this?



Nermal
Jan 26, 2007, 01:16 AM
First of all, calm down a bit. Secondly, check that you haven't missed any semicolons.

If you still can't figure it out, post back here with the problematic code.

tominated
Jan 26, 2007, 01:40 AM
god i am an idiot! i forgot a semicolon

caveman_uk
Jan 26, 2007, 05:32 AM
god i am an idiot! i forgot a semicolon
It's usually that or a missing '}'.