I'm trying to load a txt file with a million entry / lines, wondering if anyone as tried that before, and if it will be a problem ? or if there is better practices... ?
also i have started developing some simple code, but cain't seem to get past split()... problem with my string declaration or simple syntax... 'm a little lost...
thanks heaps in advance,,, sorry it might and probably is really obvious...
code below:
void setup() {
size(550,550);
}
// load text file in data folder inside the sketch folde
// String[] data = loadStrings("data.txt"); // load text file data into datatxt as string
void draw (){
String[] data = loadStrings("SmsValues_01.txt");
//String data = "1,2,3,4,5,6,7,4,5,6,7,7,7,8,3,3,34,6,5,45,6,45,3,46,4";
String[] smstxt = splitTokens (data); // breaks the datatxt string into smstxt[0]string for each values