Richard Fateman wrote:
>I've never used read_list
>But maybe you need a CR before the end of file.
>
>I already gave you my suggestion, which is to add a few characters to your
>testdata file.
>RJF
>
>
I used your suggestion of creating a maxima statement and then loading
it in maxima
to run a small test. It worked fine.
But this was a larger test with the output from a FORTRAN program run on
Linux
with about 100 vectors. I expect to get several of these, so I was
trying to set up a
system where I didn't have to do a large boring mistake-prone edit to
run each one.
I edited this testdata0.txt in WordPad and added a couple of blank
lines at the end.
I checked the file with HexEdit and the LF/CRs were there.
But read_list still does not terminate but silently hangs. Any new input
gets added to
the displayed command line after ENTER is hit.
>>-----Original Message-----
>>From: maxima-bounces at math.utexas.edu
>>[mailto:maxima-bounces at math.utexas.edu] On Behalf Of Thomas Widlar
>>Sent: Monday, May 21, 2007 12:07 PM
>>Cc: maxima at math.utexas.edu
>>Subject: read_list
>>
>>Experimenting with read_list I did on WinXP using wxmaxima (5.12)
>>
>> (%i5) a : read_list("d:/tjw/max/testdata0.txt");
>>
>>where "d:/tjw/max/testdata0.txt" is a large file of numbers
>>separated by
>>blanks and some LFs (no CR);
>>
>>I get no response. Typing further commands just gets those characters
>>appended
>>to (%i5). Could maxima be reading the command line input as
>>part of the
>>read_list
>>because read_list hasn't finished?
>>_______________________________________________
>>Maxima mailing list
>>Maxima at math.utexas.edu
>>http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>>
>>
>
>
>
>