Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,789

    Re: Continued from Grass problem

    Sounds like a place for a flag like a boolean. Use it's value to control when you want to do something.
  2. Replies
    7
    Views
    1,789

    Re: Continued from Grass problem

    Add some println() statements at all the parts you mention to show when they are executed.

    For example:


    /*
    By "reverts back" I mean that the green lines which are drawn at the beginning are...
  3. Replies
    7
    Views
    1,789

    Re: Continued from Grass problem

    Did you read the rest of my post about scope?
    What variables lose there values ("revert back")? What values should they keep NOT to revert back?

    Have you tried debugging your program by adding...
  4. Replies
    7
    Views
    1,789

    Re: Continued from Grass problem

    Can you explain what "reverts back" means?
    Do you mean there are a group of variables whose values are lost when the code exits a scope?
    Sounds like you are using local variables with the same...
Results 1 to 4 of 4