• 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 binary to decimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Converting binary to decimal
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Converting binary to decimal (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Converting binary to decimal
  • Next by Date: Re: Converting binary to decimal
  • Previous by thread: Re: Converting binary to decimal
  • Next by thread: Re: Converting binary to decimal
  • Index(es):
    • Date
    • Thread