Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    7
    Views
    2,452

    Re: board of galton,simulation.

    If the methods need there own variables, give them their own variables but use names for the variables in the method that are different from the class variables.
  2. Replies
    7
    Views
    2,452

    Re: board of galton,simulation.

    Make sure that you do NOT give the SAME names to local variables as class variables have. This can be a problem. Give them different names.
  3. Replies
    7
    Views
    2,452

    Re: board of galton,simulation.

    Is your problem because you have variables with the same name as class variables inside of methods?
    You should rename all the variables used in your methods so they have different names from the...
  4. Replies
    7
    Views
    2,452

    Re: board of galton,simulation.

    Can you define the variables at the class level vs inside of the methods?
Results 1 to 4 of 4