Hello!
I have used Processing for a couple of weeks and managed to correct my code by using the reference.
I am doing a program that uses a "terminal" embedded into the program screen. The terminal is a simple white screen created by rect().
I have values in tables that I want to print to this terminal. The terminal is there because I want to do a standalone application.
This will update the terminal by printing out for example the length of the first table. It works really fine, it prints out any data to the "terminal" as it is supposed to.
void drawTerminal()
{
int i = time.length;
fill(255);
rect(1,350, 498, 100);
fill(0);
if(i !=0)
{
text(i, 10, 360);
}
}
BUT my question is: If I try to access data that has been stored in that very table (change text(i,10,360) to text(time[i],10,360)) nothing is printed in the screen.
Do I have to use some sort of java stuff like get.Something() to get the values out from the tables?
//I have no other problems with those table values, they can be saved to and loaded from text files, printed into the ordinary table etc.