Re: Abs function broken on leopard?
Re: Abs function broken on leopard?
- Subject: Re: Abs function broken on leopard?
- From: Christopher Nebel <email@hidden>
- Date: Wed, 19 Mar 2008 08:52:51 -0700
On Mar 19, 2008, at 8:20 AM, Loren Ryter wrote:
Set r to abs (-1)
Returns:
-1 doesn't understand the abs message.
Is this function broken on leopard? It works on Tiger.
What's the replacement? I suppose I can multiply n by -1 if n < 0,
but
that's a drag.
In a related question, is there any comprehensive lookup to
translate named
apple events into the command they relate to?
I found this bug when I was getting a message from a studio project:
"-1.0 doesn't understand the <<event MATHABS>> message."
I suppose I should have known that was "abs" but didn't make the
connection
immediately. I would like a way to lookup "MATHABS".
That's not part of the standard install -- it came from some third-
party scripting addition, which apparently didn't migrate over. (Or
you changed from a PowerPC to an Intel Mac, and the addition is Power-
PC only.)
--Chris Nebel
AppleScript Engineering
_______________________________________________
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