boyfarrell
Registered
Hi all.
I'm trying to get some of my experiemental data into into a simple column in a text file. For the sake of simplistiy of my 'reading in the data' function. I have (for the time being) only have one column of data per .txt file.
For example they might look like this:
1
200
3.4
0.00001
Number seperated by a return (\n).
When I make a file myself (such as above), the function works perfectly. However, when I save a column from excel as a text file (I have tried Text Tab Delimited and Text Unicode 16) it can only read the very first data point. Also, if I cut and paste into a TextEdit document I get the same result.
Anybody know how to make MS Excel export / save a file the way I need it? Or know of text editor that will might help me.
Strangly when I opened the Tab Delimited file in MS Word and clicked show hidden characters it displays returns at the end of everyline just as I want!?
I'm all ears!
I'm trying to get some of my experiemental data into into a simple column in a text file. For the sake of simplistiy of my 'reading in the data' function. I have (for the time being) only have one column of data per .txt file.
For example they might look like this:
1
200
3.4
0.00001
Number seperated by a return (\n).
When I make a file myself (such as above), the function works perfectly. However, when I save a column from excel as a text file (I have tried Text Tab Delimited and Text Unicode 16) it can only read the very first data point. Also, if I cut and paste into a TextEdit document I get the same result.
Anybody know how to make MS Excel export / save a file the way I need it? Or know of text editor that will might help me.
Strangly when I opened the Tab Delimited file in MS Word and clicked show hidden characters it displays returns at the end of everyline just as I want!?

I'm all ears!