I'm wondering if there's an error on the "arrayCopy" page of the website documentation.
(...processing.org/reference/arrayCopy_.html)
If I'm wrong or if this is already known I apologize - I wasn't able to find any other threads about it.
The "arrayCopy" function isn't working properly for me. When I copied and pasted the first example code straight from the documentation into a sketch, it didn't give the correct output.
Code:String[] north = { "OH", "IN", "MI"};
String[] south = { "GA", "FL", "NC"};
arrayCopy(north, south);
print(south); // Prints OH, IN, MI
Output:[Ljava.lang.String;@4845aa
My Question:Does this function not work correctly any more or is it a problem on my end? I running Processing 1.0.9, just downloaded the latest version today to be sure it wasn't the problem. Also, I'm on Macintosh G5 PowerPC (not Intel) running OS 10.4.11
(Originally I couldn't get the "arrayCopy" function to work at all, so I really appreciate whoever wrote the error message saying to use "arraycopy" instead. Thank you! Major kudos to whoever did that!)