I'm on a MacBook Pro running Mac OS X 10.5. I created a file using WORD for Mac and saved it as as a text file (.txt). The file is just five lines of two-digit numbers. I then try to read the file into an array. What I get is an array with 1 element. If I print the 1 element it looks like my file - 5 lines of two-digit numbers.
When I create the data file using TextEdit (which comes installed on the Mac) and then read the file I get an array with 5 elements.
Can someone help me understand what's going on here?
In reply to End of line issues when using Mac OS X 10.5 and Windows (for Mac) products by Ninth Prince
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |