• 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
Abs function broken on leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Abs function broken on leopard?
      • From: hd <email@hidden>
    • Re: Abs function broken on leopard?
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Creating A Property List File
  • Next by Date: Re: Abs function broken on leopard?
  • Previous by thread: How to open application (Preview) at a specific size
  • Next by thread: Re: Abs function broken on leopard?
  • Index(es):
    • Date
    • Thread