I forgot, again, to include maxima on the mailing.
-------- Original Message --------
Subject: Re: Universl read_data function
Date: Mon, 30 May 2011 14:11:44 -0700
From: Paul Bowyer <pbowyer at olynet.com>
To: Edwin Woollett <woollett at charter.net>
On 05/30/2011 01:27 PM, Edwin Woollett wrote:
> On May 30, 2011 Paul Bowyer wrote:
> -----------
> Here are the data files I used with the read_data function. The names
> might not be the same as they were in your email message. I created
> ndata1.dat by using a hex editor (Okteta) on regular a text file that
> had extra space chars that could be modified. All the others were
> copy/pasted directly from your email message without modification. I
> use Thunderbird for email.
> ----------------------------
>
> I looked at you ndata1.dat file.
> You have two back to back CRLF's
> between lines 6 and 7 and
> between lines 7 and 8 and
> in addition you have an
> extra CRLF after the CRLf ending
> the last line.
>
> Ted
>
>
>
Hi Ted:
I forgot that I added some more lines to ndata1.dat by copy/paste and
yes, it does have some blank lines between the data lines. When I was
running the tests, I wanted to add some additional data from your data
files, but I changed my mind and decided to use different files instead.
I didn't get the file returned to its original state before I sent it
off to you.
When I remove the extra lines I added and leave the CR/LF combinations,
including the trailing blank lines, the edited version of read_data
operates correctly with "read_data ("/home/pfb/ndata1.dat"," ",true,[4]);"
Sorry for the confusion,
Paul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ndata1.dat
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20110530/734e2f55/attachment.ksh>