• 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: Code for a circle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code for a circle


  • Subject: Re: Code for a circle
  • From: John Delacour <email@hidden>
  • Date: Thu, 13 Mar 2003 22:03:19 +0000
  • Mac-eudora-version: 6.0a11

At 9:36 pm +0100 13/3/03, Helmut Fuchs wrote:

If AppleScript had proper math functions on board, this should be easy to implement. But it hasn't. I still don't grasp why a scripting language has to rely on additions to do trigonometric functions (and even something as basic as rounding a number has to be added by way of "Standard Additions"). Probably because it wouldn't be AppleScript, if it was feature complete and devoid of bugs...

Well core Applescript may be a bit short of features, but the lack of features available in general is due not to a fault of Applescript but to a shortage of people coming forward to write extensions to it. To get Frontier to do trig you need to install an extension and to get perl to do anything really fancy with trig you need to go out and get a library. It's just a question of degree. What makes perl so powerful is not only the genius at the heart of it and the standard libraries but the multitude of stuff available in CPAN, all written by "third parties". The commitment's never been there in Applescript.

I can't remember if there was a trig osax and I'm pretty sure there's not one for OS 10, but the great thing about the new era is that we can now tap into the power of the shell and perl and python from Applescript, and that means, on the other hand, that there is even less need for people to write extensions.

JD
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Code for a circle
      • From: Paul Berkowitz <email@hidden>
References: 
 >Code for a circle (From: Paul Skinner <email@hidden>)
 >Re: Code for a circle (From: Helmut Fuchs <email@hidden>)

  • Prev by Date: Re: reading a file >32Kb
  • Next by Date: Re: Active Application
  • Previous by thread: Re: Code for a circle
  • Next by thread: Re: Code for a circle
  • Index(es):
    • Date
    • Thread