Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: ReadList problems in NEXTStep, version 2.2 for NEXT
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Oliver Schurr

Posts: 5
Registered: 12/7/04
ReadList problems in NEXTStep, version 2.2 for NEXT
Posted: Nov 7, 1996 10:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Mathgroup

I came across a strange problem regarding ReadList[]. I used it
extensively to import data files consisting of three columns of numbers
sepearated by a couple of spaces and after the third column another couple
of spaces appear before the end of line marker. I used those to import
data in a Solaris version of Mathematica (2.2) and Windows 3.1 (2.2.4) and
everything worked fine. I actually used "ReadList["filename", Numbers,
RecordLists -> True]" to get a nested list.

When I now do the SAME using a NEXT CUBE (version 2.2 as well) I get an
error message stating something like. ....syntax error reading in a real
number....

If I remove the trailing spaces between the third column and the end of
line marker everything is read in fine. But that is really cumbersome to
remove the trailing spaces only for that purpose.

Is there something different in the NEXT version of Mathematica which can
cause that problem in comparison to the Solaris and Windows 3.1 version

I made sure that the files were copied from the diskette which is DOS to
the CUBE using "cp" to convert the differnet end of line markers in those
two OS's. The data originally were created on an VMS system then copied to
the Solaris system and used there. From there I copied the data on a DOS
system and used them in Windows 3.1, and those DOS diskettes were used to
copy the data to the CUBE.


Can you help me with that?

Thanks a lot.

Oliver Schurr
Department of Chemistry
Georgetown University
Washington, DC 20057







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.