Re: Reading and writing records
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