• 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: abs bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abs bug?


  • Subject: Re: abs bug?
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 29 Nov 2003 10:39:58 -0800

On 11/29/03 9:04 AM, "Robert Poland" <email@hidden> wrote:

>> On Nov 29, 2003, at 9:25 AM, Robert Poland wrote:
>>
>>> Is this a bug? From Satimage Dictionary.
>>>
>>> set x to -44
>>> abs x
>>> x
>>> --> -44
>>
>> Robert,
>>
>> Try
>> set x to -44
>> set x to abs x
>> x
>>
>> that should reveal 44 as the answer. Also, if you removed the last
>> line (x) of your code, it should display 44.
>>
>>
>> --
>> Chris Garaffa
>> email@hidden
>
>
> Thanks Chris,
>
> After I thought about it it was obvious. Should have realized that
> the dictionary was misleading me.

How was the dictionary misleading you? It's just standard AppleScript (or
any language) logic, which you were getting wrong. What did the dictionary
have to do with it?

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Re: abs bug? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: abs bug?
  • Next by Date: Re: [OT] Question to list manager
  • Previous by thread: Re: abs bug?
  • Next by thread: Re: abs bug?
  • Index(es):
    • Date
    • Thread