• 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: Math with AS (was: Code for a circle)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Math with AS (was: Code for a circle)


  • Subject: Re: Math with AS (was: Code for a circle)
  • From: Helmut Fuchs <email@hidden>
  • Date: Fri, 14 Mar 2003 02:51:55 +0100

At 18:29 Uhr -0500 13.03.2003, Deivy Petrescu wrote:
On Thursday, Mar 13, 2003, at 15:36 US/Eastern, 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...
...
This is not so!
Well, OK, it's easy to implement when you can fall back to a library or addition. But this is not what I meant.

If you allow me, I've written a pretty comprehensive set of math functions. Trigonometric and its inverse, hyperbolic and inverse, log in any base exponential, change of numerical basis, complex numbers , matrices and linear systems, etc. You can download them from my site below.
I've done so. And it's a really great accomplishment! And I can put these libraries to good use, thanks a lot!

But still I think it's strange, that math functions that are _very_ efficiently available on system level have to be reimplimented in a very slow and high level language like AppleScript. And having to rely on strings and decimal separators for some operations makes some functions not internationally usable - native arithmetic doesn't have such limitations.

I really am grateful for what you and some other people developed to make AppleScript a richer experience. But I still think that a lot of the energy could have been spent for even better causes if the power of the underlying system was more accessible.

I've been following this for years now, my impression is that AppleScript as such doesn't evolve at all. When I look at some of the recent discussions it more looks as if AppleScript dissolves, as even Apple itself doesn't know what to do with it and how to apply it to its best.

-Helmut
_______________________________________________
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: Math with AS (was: Code for a circle)
      • From: Deivy Petrescu <email@hidden>
    • Re: Math with AS (was: Code for a circle)
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Re: reading a file >32Kb
  • Next by Date: Re: Math with AS (was: Code for a circle)
  • Previous by thread: Re: Adding label comands to MPW
  • Next by thread: Re: Math with AS (was: Code for a circle)
  • Index(es):
    • Date
    • Thread