We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Tried to load a text files into a String[], but ERROR occurs: "cannot convert from String[] to String[]"
here's the code:
String[] data = loadStrings("test.txt");
print("Loading Finished.");
}
What can I do if it can't convert it's same data type??
Answers
http://forum.processing.org/two/discussion/8045/how-to-format-code-and-text
Your sample works alright! Never heard about "cannot convert from String[] to String[]" before.
Unless you've created your own String class, I don't see how could that happen!
Perhaps the article Common issues with sketch names is relevant... :-)