• 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
Re: Syntax errors, undeclared variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax errors, undeclared variables


  • Subject: Re: Syntax errors, undeclared variables
  • From: Peter Duniho <email@hidden>
  • Date: Fri, 6 Feb 2009 22:21:46 -0800

On Feb 6, 2009, at 6:51 PM, Kevin Walzer wrote:

[...] I'm not sure what is causing these errors. Line 11 is set up like this:

-(int)switchIcon (ClientData cd, Tcl_ip *ip, int objc, Tcl_Obj *objv[]);

The error is because your method prototype syntax is completely wrong.

You should probably read some of the basic guides before you try writing Objective-C programs. Here's a good place to start:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/index.html


Hope that helps.

Pete
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Syntax errors, undeclared variables
      • From: Kevin Walzer <email@hidden>
References: 
 >Syntax errors, undeclared variables (From: Kevin Walzer <email@hidden>)

  • Prev by Date: Re: NSTableView Popup Column issue
  • Next by Date: Re: Animated toolbar
  • Previous by thread: Syntax errors, undeclared variables
  • Next by thread: Re: Syntax errors, undeclared variables
  • Index(es):
    • Date
    • Thread