• 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: Converting string equation to int
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting string equation to int


  • Subject: Re: Converting string equation to int
  • From: Christopher Drum <email@hidden>
  • Date: Sat, 12 Feb 2005 11:41:18 -0800


Sherm,

That worked perfectly for me. Thank you! I didn't know about the bc command, and this forced me to finally look at how to work with NSTask. The whole NSTask / NSPipe syntax seemed a little convoluted at first, but I puzzled it out without much difficulty.


You could use NSTask to pipe it to bc and get back the results. "man bc" for details.


sherm--


------------------------------------------------------------------ Christopher Drum http://homepage.mac.com/christopherdrum

Check out FileWrangler, my five-star rated (MacUpdate, VersionTracker) Cocoa app written in Objective-C for the batch renaming of files.

_______________________________________________
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


  • Follow-Ups:
    • Re: Converting string equation to int
      • From: The Karl Adam <email@hidden>
References: 
 >Converting string equation to int (From: Christopher Drum <email@hidden>)
 >Re: Converting string equation to int (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: About Document Packages
  • Next by Date: Re: NSImageView only for images?
  • Previous by thread: Re: Converting string equation to int
  • Next by thread: Re: Converting string equation to int
  • Index(es):
    • Date
    • Thread