• 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: Reading and writing records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading and writing records


  • Subject: Re: Reading and writing records
  • From: email@hidden (Ted Wood)
  • Date: Tue, 23 Jan 2001 11:42:09 -0800

>On 1/23/01 10:08 AM, "Nigel Smith" <email@hidden> wrote:
>
>> Sorry if this is an FAQ, but...
>>
>> Is there an easy way to read and write records from file, as there is with
>> lists? I'm currently doing this using a list, which I then parse through to
>> create a list of records.
>>
>> Is "read <fileRef> as <class> using delimiter <myDelim>" only useful for
>> lists?

The 'using delimiters' parameter is only needed for lists separated by a
repeating delimiter. I haven't had much luck using the 'Read/Write
Commands' osax for reading and writing records, but using 'Save/Read data'
osax, which is readily available, has been a flawless way to read and write
record to files. It's quicker because the file is opened and closed for you
by the read/save data commands.

Hope this helps.

Ted


  • Prev by Date: newbie: how to get result of "cancel"
  • Next by Date: Re: [ANN] Report on AS 1.5.5 from AppleScript Sourcebook
  • Previous by thread: Re: Reading and writing records
  • Next by thread: Re: Reading and writing records
  • Index(es):
    • Date
    • Thread