Re: Broken date math on AppleScript 2.0
Re: Broken date math on AppleScript 2.0
- Subject: Re: Broken date math on AppleScript 2.0
- From: Doug McNutt <email@hidden>
- Date: Fri, 15 Feb 2008 20:46:58 -0700
At 16:25 -0800 2/15/08, Scott Babcock wrote:
>It appears that date math on AppleScript 2.0 (shipped with Leopard) is not working correctly with large values.
>
>If you have an integer whose value exceeds 0x1FFFFFFF, and you try to add or subtract this integer from a date, you will not get the expected value.
Integers in AppleScript have always been limited to 29 bits. Above that everything gets coerced to floating point.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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