Re: as is what?
Re: as is what?
- Subject: Re: as is what?
- From: micro-people <email@hidden>
- Date: Thu, 28 Aug 2003 20:33:03 +0900
mmm
the book i read @ a library
was sticking to the
write (a as text & return) starting at eofPos +1 fh
way.
maybe this is because i am living in the Japanese OS world ?
i'll use Engish only @ AS
so if "+ 1" is needless in that case
will forget about my nationality
am not skilled enough yet
to understand what the last line of your example is doing
any way thank you!
>
>(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}
>
BUYO-BUYO-IGOR------------------
http://buyobuyo.isgenius.com
"SaRiGaMa's Oil Vending Orchestra"
http://oil.isonfire.com
_______________________________________________
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.