• 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: as is what?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as is what?


  • Subject: Re: as is what?
  • From: John Delacour <email@hidden>
  • Date: Tue, 26 Aug 2003 13:34:53 +0100

At 8:22 pm +0900 26/8/03, micro-people wrote:

(even though wondering why "eof" doesn't have to be "(get eof fh) + 1"

Because eof (a real) is the boundary of the file and not contained within it. If you continue to build a wall, you start at the point where you left off, not at that point plus one brick.

set f to "/tmp/f" as POSIX file
open for access f with write permission
set eof f to 0
write 6.3 to f
set _eof to get eof f
close access f
{_eof, read f, read f as number}
_______________________________________________
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: as is what?
      • From: micro-people <email@hidden>
References: 
 >Re: as is what? (From: Nigel Garvey <email@hidden>)
 >Re: as is what? (From: micro-people <email@hidden>)

  • Prev by Date: Keystroke command limit
  • Next by Date: Re: Keystroke command limit
  • Previous by thread: Re: as is what?
  • Next by thread: Re: as is what?
  • Index(es):
    • Date
    • Thread