I have files of CSV values. They contain 10,755,000 lines of 3 CSVs. I've written a sketch to take two of these files and subtract the third value from each line in one file from the third value in the next and rewrite the results to a new file. My problem is that I have to use an
int to address lines in the initial file and therefore can't address lines beyond the
32,768th line. I cannot address an array using a long. Can someone confirm that I am not missing something elementary (ha!) and advise me of a way around this issue?
NB1 - When I load the files using loadStrings() it loads the first
2,412,536 lines. Why is this and is there a way around it beyond reading the code in line-by line?
NB2 - I know I can create an arrayList of 10,000,000 elements but I'm curious as to the limits to array().
Cheers,
NC
1