• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get eof real?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Monitor color depth
  • Next by Date: Re: Mac OS X 10.2.8 and URL Access Scripting "download"
  • Previous by thread: Re: get eof real?
  • Next by thread: Re: get eof real?
  • Index(es):
    • Date
    • Thread