Why is ReadList having trouble reading file I've moved from OS 9?
 Carriage returns (\r) and line feeds (\n) are both commonly used to denote End-Of-Line (EOL) in Mac OS X. The Mathematica 4.1.5 kernel considers only \n to be the ending of a line. Files with mixed EOL characters can affect kernel functions like ReadList that separate records by the line ending. Problems might occur with files moved from Mac OS 9. Workaround ReadList can recognize \r or \n as an end-of-line character; however, this could cause problems if the user has both characters in a file. Because of this, it is recommended that RecordSeparators always be set to choose the appropriate case. Download this FAQ as a Mathematica 5.2 Notebook
Questions or comments? Send email to support@wolfram.com.
|