Re: Converting string equation to int
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