Re: as is what?
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.