We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there, I have a question, I have an array, and a variable x. I want to know the values before and after x in the array. But I have no clue how to read in the value before x. I have tried two opportunities:
if(rotarray[x][y] == true)
if(rotarray[x-1][y] == true)
but both failed with "ArrayIndexOutOfBoundException: -1"
I am using Processing 2.2.1