Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    Sorry, no way to tell what the ... code is doing.
    With multiple conditions connected by OR (||), only one needs be true.
  2. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    Use println() statements to print out the values of the variables that keep the code looping.
  3. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    Try it and see what happens.
  4. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    The technique I use is adding println() statements to print out the values of variables used by the code to see how they change. If you understand how the program is supposed to work, the display of...
  5. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    How are you working on understanding what the code does when it executes so you can find the problem.
  6. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    How are you trying to debug the code?
  7. Thread: KeY Press

    by Norm
    Replies
    14
    Views
    1,147

    Re: KeY Press

    That is very ugly code. Its impossible to read with the short, non-descriptive variable names and the hardcoded magic numbers.

    It looks like there should have been a array to hold the values like...
Results 1 to 7 of 7