Re: How to use delimiters in Standard Additions file read/write commands?
Re: How to use delimiters in Standard Additions file read/write commands?
- Subject: Re: How to use delimiters in Standard Additions file read/write commands?
- From: Victor Yee <email@hidden>
- Date: Sun, 18 Mar 2001 15:27:15 -0500
On Sun, 18 Mar 2001 10:40:13 +0000, Charles Arthur wrote,
>
set thefile to choose file
>
open for access thefile
>
set theend to get eof of thefile
>
--display dialog (theend & " bytes") as string -- used in earlier debugging
>
set thelist to read thefile using delimiter {" "}
You have to include the additional parameter "as list".
set thefile to choose file
set thelist to read thefile using delimiter {" "} as list
Victor