Re: How to use delimiters in Standard Additions file read/write
Re: How to use delimiters in Standard Additions file read/write
- Subject: Re: How to use delimiters in Standard Additions file read/write
- From: Devon and Cornwall <email@hidden>
- Date: Mon, 19 Mar 2001 18:14:30 -0800
At 9:04 AM -0800 3/19/01, Paul Berkowitz wrote:
>
using delimiter {" "}
>
>
should be either
>
>
using delimiter " "
>
>
or
>
>
using delimiters {" "}
>
>
Maybe that's got something to do with it?
It doesn't matter if I make delimiter plural or not. The compiler removes the s.
Using AS 1.6:
set thefile to choose file
set filRef to open for access thefile
set thelist to read filRef using delimiter *
close access filRef
thelist
--set thelist to read filRef as list using delimiter *
--{{"If"}, {"you"}, {"know"}, {"where"}, {"to"}, {"look"}, {"for"}} -- {" "}
--{{"If"}, {"you"}, {"know"}, {"where"}, {"to"}, {"look"}, {"for"}} -- " "
--set thelist to read filRef using delimiter *
--{"If", "you", "know", "where", "to", "look", "for"} -- {" "}
--{"If", "you", "know", "where", "to", "look", "for"} -- " "
Devon