Re: get eof real?
Re: get eof real?
- Subject: Re: get eof real?
- From: "John W. Baxter" <email@hidden>
- Date: Wed, 01 Oct 2003 21:02:28 -0700
- Envelope-to: email@hidden
On 10/1/2003 15:13, "Jon Pugh" <email@hidden> wrote:
>
At 10:41 AM -0700 9/29/03, John W. Baxter wrote:
>
> On 9/28/2003 21:11, "Christopher Nebel" <email@hidden> wrote:
>
>
>
>> AppleScript never stores 64-bit integers internally.
>
>
>
> I respectfully demur...consider the date type (class 'ldt ', content a
>
> signed 64-bit integer).
>
>
>
> However, that's not what you meant, in that neither AppleScript nor the
>
> script writer thinks of this as an integer.
>
>
When I left, we stored the date as a 32 bit int but defined it as a 64 bit
>
int, which everyone tossed half of. ;)
Thanks, Jon...
I realized after I posted that I was guilt of assuming that the way
AppleScript sends a date object in an Apple event is the same as the way it
is stored by AppleScript. (I learned that Apple event form very soon after
the spring "stealth" release of Applescript (before the release of Apple's
bad idea called Mac OS Pro), by having AppleScript send a date to Frontier,
and looking at it in Frontier. Let's take a look (Mac OS X 10.2.6 plus the
pre-release stuff associated with Script Editor 2 beta):
>
set d to date "Saturday, January 2, 1904 0:00:00"
>
--Script debugger says it is ldt ($0000000000015180$) <AEPrint>
>
set e to d - 5 * days
>
--Script debugger says it is ldt ($FFFFFFFFFFFABA00$)
>
-- date "Monday, December 28, 1903 0:00:00" <Source Language>
>
-- best and browser match
I think I'll stick with what I said. But again, thanks for inducing me to
check.
--John
_______________________________________________
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.