• 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: The Karl Adam <email@hidden>
  • Date: Sat, 12 Feb 2005 16:27:36 -0500

While the bc solution is nice, some users may not have the "BSD
Subsystem" installed and as such this will not work for them.  Be
forewarned. Yes, come people actually turn it off to install OS X
using less disk space.

-Karl


On Sat, 12 Feb 2005 11:41:18 -0800, Christopher Drum
<email@hidden> wrote:
>
> 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
>
 _______________________________________________
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: 
 >Converting string equation to int (From: Christopher Drum <email@hidden>)
 >Re: Converting string equation to int (From: Sherm Pendley <email@hidden>)
 >Re: Converting string equation to int (From: Christopher Drum <email@hidden>)

  • Prev by Date: Re: A few questions about Memory Management
  • Next by Date: check status of secure webpage?
  • Previous by thread: Re: Converting string equation to int
  • Next by thread: Memory management question.
  • Index(es):
    • Date
    • Thread