• 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: Informal poll
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Informal poll


  • Subject: Re: Informal poll
  • From: Emmanuel LEVY <email@hidden>
  • Date: Tue, 17 Jun 2014 14:49:22 +0200

I confirm, here again ECMA makes a better job than Apple, look:

callJavaScript (make new javascript) script "'Javascript: pi = ' + Math.PI"
  --  "Javascript: pi = 3.141592653589793"
"AppleScript: pi = " & pi
  --  "AppleScript: pi = 3.14159265359"

16 vs 12 digits.

Best,
Emmanuel


On Jun 17, 2014, at 1:36 PM, Paul Fidler wrote:

> Whilst we are on the subject of maths, how about the handling of numbers greater than 8 significant places rather than scientific notation?
>
> Sent from my iPhone
>
>> On 17 Jun 2014, at 07:33, Emmanuel LEVY <email@hidden> wrote:
>>
>> On Jun 17, 2014, at 12:22 PM, Nigel Garvey wrote:
>>
>>>> * If you were to be granted one AppleScript-related wish, what would it
>>> be?
>>>
>>> Do you mean For what would I be careful to wish?  ;)  I'd love the core
>>> language itself to have a bit more power, so that it wouldn't be as
>>> necessary to switch to the latest gee-whiz alternative(s).
>>
>> I find this a very reasonable wish and I would like to second it. It's a pity we have to write tenths of lines - or use libraries or osaxen - because the core AppleScript is so poor.
>>
>> Think about javascript's built-in stuff... Operations on arrays, on strings, on associative arrays... Regular expressions... The Date and Math objects...
>>
>> More built-in power might help our language look more modern and seduce more users.
>>
>> Emmanuel
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> AppleScript-Users mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> Archives: http://lists.apple.com/archives/applescript-users
>>
>> This email sent to email@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Informal poll
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Informal poll (From: Nigel Garvey <email@hidden>)
 >Re: Informal poll (From: Emmanuel LEVY <email@hidden>)
 >Re: Informal poll (From: Paul Fidler <email@hidden>)

  • Prev by Date: Re: Informal poll
  • Next by Date: Re: Informal poll
  • Previous by thread: Re: Informal poll
  • Next by thread: Re: Informal poll
  • Index(es):
    • Date
    • Thread