• 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: Devon and Cornwall <email@hidden>
  • Date: Sun, 18 Mar 2001 16:14:27 -0800

At 3:36 PM -0500 3/18/01, Victor Yee wrote:
>On Sun, Mar 18, 2001 03:27 PM, I wrote,
>
> > You have to include the additional parameter "as list".
>
> > set thefile to choose file
> > set thelist to read thefile using delimiter {" "} as list
>
>It would have been clearer if I'd written:
>
>set thefile to choose file
>set thelist to read thefile as list using delimiter {" "}
>
>Both work fine, but the latter is more descriptive.

As list doesn't seem to be necessary - the construction of the
statement seems to default to list. Both examples we posted
resulted in a list without having to use "as list."

Perhaps the fellow on the list whose initials are NG could explain why?
He is correct about not needing to "open for access" for a simple one
time, no file pointer read.

Devon and Cornwall
--How do you feel about interpretive dance?


References: 
 >Re: How to use delimiters in Standard Additions file read/write commands? (From: Victor Yee <email@hidden>)

  • Prev by Date: Re: Help; I did something stupid!
  • Next by Date: Re: How to use delimiters in Standard Additions file read/write commands?
  • Previous by thread: Re: How to use delimiters in Standard Additions file read/write commands?
  • Next by thread: PICTs and Dialog Director
  • Index(es):
    • Date
    • Thread