We are about to switch to a new forum software. Until then we have removed the registration on this forum.
First of all, i'm new to java so please forgive me for easy questions and my bad English (I'm Dutch).
I have a code with an array: robotStartX, the x position of a robot. I would now like to add the value of a variable to one of the indexes of robotStartX.
Why doesn't the following work?
int robotStartX = new int; int value = 12; robotStartX += value; println(robotStartX);
Could someone please tell me how to do this?
Joris van Lanen