Re: Standard Additions 'read' command - basic questions
Re: Standard Additions 'read' command - basic questions
- Subject: Re: Standard Additions 'read' command - basic questions
- From: Emmanuel <email@hidden>
- Date: Mon, 19 Jan 2004 15:22:10 +0100
At 8:46 AM +0100 19/01/04, Emmanuel wrote:
>
-----------------
>
set f to "" & (path to "temp") & "(make new name)"
>
open for access file f with write permission
>
write "hello" & (ASCII character of 254) & "world" to file f
>
close access file f
>
read f using delimiter (ASCII character of 254)
>
-- {"hello", "world"}
>
-----------------
(that was under 10.2.8)
As CS emphasizes, this is broken under Panther, whence Chap's question that I did not understand.
I wonder what is the rule which says which characters work as a delimiter and which don't. I tried 250, 253, 254 and 255, they don't work. LF works (great delight!).
Sorry if this was well known already.
Emmanuel
_______________________________________________
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.