Re: Math with AS (was: Code for a circle)
Re: Math with AS (was: Code for a circle)
- Subject: Re: Math with AS (was: Code for a circle)
- From: Deivy Petrescu <email@hidden>
- Date: Thu, 13 Mar 2003 23:57:14 -0500
On Thursday, Mar 13, 2003, at 20:51 US/Eastern, Helmut Fuchs wrote:
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.
Well, when I said I was going to work on them, this was an issue.
Thanks to JJ who called my attention and suggested a nice workaround,
this should be easy to handle, and I'll let you and everybody else know
when it is ready.
Please let me know of any problem, improvements and suggestions. Given
enough time, it will be there.
there will be some other improvements as well.
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.
Just use them. I'll be grateful to you!
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
Helmut, I understand some of your frustration. However, I do believe
that future is bright rather than bleak. With the major overhaul of OS
I believe that, problems happen!
The fact that there are at least two AS engineers in the list, taking
all this from us, is a sign that they want to hear. However, the sound
propagates with finite speed...
I believe math was ( and it is still not) implemented because Apple
never believed AS could be anything other than a fancy macro editor.
Well, it is not, it can do pretty amazing things!
On the other hand, yes it is pretty annoying that Keynote is not
scriptable and some of Apple applications have lousy or none AS
implementation, that some bugs stop for dinner because they are already
old friends, and if you depend on AS, banging the head rhythmically
really makes sense.
But to close in a positive note, don't forget that "entire contents"
has been fixed in X (I have not checked on 10.2.4....). One less meal
to serve :)
Regards
Deivy Petrescu
http://www.dicas.com/
_______________________________________________
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.