• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Why can't I introduce new variables after init stage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why can't I introduce new variables after init stage?


  • Subject: Why can't I introduce new variables after init stage?
  • From: Hisaoki Nishida <email@hidden>
  • Date: Sat, 25 May 2002 00:34:54 -0400

For reason I am unaware of, whenever I want to introduce temporary variables in my code I get an error saying 'parse error'. It won't even let me introduce variables like i for my loops!
I have to go up to the init stage where, prior to anything else variables are declared, and I have to declare it there. Using Obj-C with Cocoa.
Can someone tell me why?

Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Why can't I introduce new variables after init stage?
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: NSTextField Attributes
  • Next by Date: Re: Why can't I introduce new variables after init stage?
  • Previous by thread: Re: Newbie NSPopUpButton addItemWithTitle: problem from a menu
  • Next by thread: Re: Why can't I introduce new variables after init stage?
  • Index(es):
    • Date
    • Thread