• 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: newbie - multiply error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie - multiply error


  • Subject: Re: newbie - multiply error
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 12 Mar 2005 07:45:17 -0500

On Mar 12, 2005, at 7:14 AM, Aaron Wallis wrote:

ok, so this may sound like a really stupid question, but how do you multiply two numbers together?
heres the equation:
[NSNumber numberWithInt:(charHeight*inc)]
however, when I build and run, I get the error "invalid operands to binary"....

Two questions:

What types are the variables charHeight and inc declared as?

What is the *complete* error message?

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >newbie - multiply error (From: Aaron Wallis <email@hidden>)

  • Prev by Date: Problem with CFBundleDocumentTypes
  • Next by Date: Re: Could not connect the action to target of class
  • Previous by thread: newbie - multiply error
  • Next by thread: Problem with CFBundleDocumentTypes
  • Index(es):
    • Date
    • Thread