Re: Converting binary to decimal
Re: Converting binary to decimal
- Subject: Re: Converting binary to decimal
- From: Jon Pugh <email@hidden>
- Date: Mon, 3 Jan 2005 21:49:19 -0800
At 9:53 PM -0700 1/3/05, Gnarlodious wrote:
>Entity Bernardo Hoehl spoke thus:
>
>> Hi List.
>>
> > Has anyone ever written a handler to convert binary to decimal?
> >
> > Is there any built function in applescript to do it?
>
>set binString to "11111111"
>do shell script "echo \"2 10 o i " & binString & " p\" | dc"
"It's people like you what cause unrest." -- Python, Monty
When we first heard of unix coming to the Mac, this is precisely what people were afraid of. Unintelligible gobbledygook. If Walter were still here, he'd give you the what for.
Besides, the answer to his questions is clearly, "Yes and no." And we'll need more information to even begin to help Bernardo, I suspect.
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden