• 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 commands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: How to use delimiters in Standard Additions file read/write
  • Next by Date: Re: Help; I did something stupid!
  • 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 commands?
  • Index(es):
    • Date
    • Thread