Search:

Type: Posts; User: Scotty

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    1,180

    Re: method not working outside of class

    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.
  2. Replies
    3
    Views
    1,180

    method not working outside of class

    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:



    ...
Results 1 to 2 of 2