Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    10
    Views
    1,710

    Re: If Testing, testing for another if?

    That if statement could work if you built the String of results and tested that String.
  2. Replies
    10
    Views
    1,710

    Re: If Testing, testing for another if?

    Does that code you posted compile? The syntax of the if condition looks wrong.
    Build a String in one step and test its value in another.
  3. Replies
    10
    Views
    1,710

    Re: If Testing, testing for another if?

    That sounds like it would work.
  4. Replies
    10
    Views
    1,710

    Re: If Testing, testing for another if?

    How are you removing the name from the prompt? If looks the display of the names is in a String literal in the JOptionPane call and not in a String variable where you can remove one of the names.
    ...
  5. Replies
    10
    Views
    1,710

    Re: If Testing, testing for another if?

    That is what programmers do when they scan their code.
    Not sure what you mean by an "if test". Are you referring to the boolean value determined by the conditions in ()s?
    You could set a boolean...
Results 1 to 5 of 5