Re: get eof real?
Re: get eof real?
- Subject: Re: get eof real?
- From: "Arthur J. Knapp" <email@hidden>
- Date: Fri, 26 Sep 2003 13:39:40 -0400
>
Date: Thu, 25 Sep 2003 22:19:27 -0600
>
From: David Crowe <email@hidden>
>
Subject: get eof real?
>
set theFileSize to (get eof FileRef)
>
... and the class of "theFileSize" comes up as "real". I understood
>
that "get eof" returned an integer.
I don't remember the exact figures involved, but I think it comes
back as real because the maximum possible length of a file is
greater than what an AppleScript integer can represent, so it comes
back as a real, which can accomadate much larger numbers.
{ Arthur Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
"I'm the Green Fairy. The hills are alive...!"
}
_______________________________________________
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.