• 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
get eof real?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get eof real?


  • Subject: get eof real?
  • From: David Crowe <email@hidden>
  • Date: Thu, 25 Sep 2003 22:19:27 -0600

I'm executing the following AppleScript code:

set theFileSize to (get eof FileRef)
display dialog "theFileSize=" & theFileSize & ", class=" &
(class of theFileSize) as string



... and the class of "theFileSize" comes up as "real". I understood
that "get eof" returned an integer.

Can anyone explain this. As far as I can tell the variable
"theFileSize" is not involved in any calculations that might return a
non-integer result.

- David Crowe

P.S. OS X using Smile...
_______________________________________________
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.

  • Follow-Ups:
    • Re: get eof real?
      • From: Paul Berkowitz <email@hidden>
    • Re: get eof real?
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: Folder Action keeps dying
  • Next by Date: Re: Hide Menu Bar while launching
  • Previous by thread: Re: AppleWorks 6: how do you set text style?
  • Next by thread: Re: get eof real?
  • Index(es):
    • Date
    • Thread