Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abs bug?



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.

--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
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: 
 >abs bug? (From: Robert Poland <email@hidden>)
 >Re: abs bug? (From: Chris Garaffa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.