Abs function broken on leopard?
Abs function broken on leopard?
- Subject: Abs function broken on leopard?
- From: Loren Ryter <email@hidden>
- Date: Wed, 19 Mar 2008 11:20:53 -0400
- Thread-topic: Abs function broken on leopard?
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".
Thanks.
_______________________________________________
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