Re: Inconsistent results from Finder and System Events
Re: Inconsistent results from Finder and System Events
- Subject: Re: Inconsistent results from Finder and System Events
- From: Arthur Knapp <email@hidden>
- Date: Thu, 20 Nov 2003 10:14:29 -0500
From: Christopher Nebel <email@hidden>
Subject: Re: Inconsistent results from Finder and System Events
Date: Wed, 19 Nov 2003 14:04:42 -0800
... AppleScript integers are 30-bit twos-complement integers, which
means you've got 29 bits of magnitude to play with, or about 500
million. Any operations that produce results outside that range get
turned into reals. (At least, they're supposed to. There have been
bugs with that in the past.)
This has always struck me as being "conceptually buggy." Why are the
integers 30 bits rather than the expected 32 bits?
{ Arthur J. Knapp;
<
mailto:email@hidden>;
Why do programmers confuse Halloween and Christmas?
Because Oct 31 == Dec 25.
}
_______________________________________________
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.