I can use other methods, for example
state.setArray(2);
Which puts a value in row 2 and then prints the array. These work fine.
It is definitely initialised. I cannot post code.
Type: Posts; User: Scotty
I can use other methods, for example
state.setArray(2);
Which puts a value in row 2 and then prints the array. These work fine.
It is definitely initialised. I cannot post code.
I have a 2D-array in a class, and methods that affect the array.
From another class I can call a method to add to the array which works fine.
My method to get a value from an array is:
...