• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to use delimiters in Standard Additions file read/write
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use delimiters in Standard Additions file read/write


  • Subject: Re: How to use delimiters in Standard Additions file read/write
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 20 Mar 2001 01:20:14 +0000

Paul Berkowitz wrote on Mon, 19 Mar 2001 09:04:10 -0800:

>> set thefile to choose file
>> set filRef to open for access thefile
>> set thelist to read filRef using delimiter {" "}
>> close access filRef
>> thelist
>>
>> I'm on OS 9.1, AppleScript 1.6.
>>
>
> using delimiter {" "}
>
>should be either
>
> using delimiter " "
>
>or
>
> using delimiters {" "}
>
>Maybe that's got something to do with it?

Aha! Well spotted. But using {" "} or " " doesn't make any difference on
my 8.6 machine. You still have to use 'as list' in the 'read'
instruction. And 'delimiters' compiles as 'delimiter' with both forms
(and with more than one delimiter). Strange....

NG


  • Prev by Date: Mounting network volumes
  • Next by Date: Re: Read File Problems
  • Previous by thread: Re: How to use delimiters in Standard Additions file read/write
  • Next by thread: Re: How to use delimiters in Standard Additions file read/write
  • Index(es):
    • Date
    • Thread