AAGGRRR! the first app in the book doesn't work!!!

Discussion in 'Mac Programming' started by tominated, Jan 25, 2007.

  1. tominated
    Expand Collapse
    macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #1
    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?
     
  2. Nermal
    Expand Collapse
    Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    Whakatane, New Zealand
    #2
    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.
     
  3. tominated
    Expand Collapse
    thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
  4. caveman_uk
    Expand Collapse
    Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #4
    It's usually that or a missing '}'.
     

Share This Page