Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    How can you determine that? What fields/variables can be tested in an if statement to know if any field has been left empty?


    Use your IDE's Find function. Find each } in turn. Move any that...
  2. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    Did you see my posts #6 & #8? Did you fix your code as suggested there?

    What about the questions I asked in post #6?
  3. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    Did you miss this?
    One problem with the code is that it is poorly formatted.
    There is a hidden } at the end of a line. All }s should be on a line by themselves and vertically inline below the start...
  4. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    Can you explain what you mean here when you say "saves"?

    When does the code in post #5 execute the JOPtionPane statement that shows the error message?
    What is the condition tested in the if...
  5. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    Try debugging the code by adding some println statements to print out the values of the three variables that the data is read into so you can see what the computer is seeing. The wrong answers you...
  6. Replies
    13
    Views
    1,236

    Re: Arraylits for handling errors?

    What is the reg variable? It looks like a class with methods that are used to get user input.


    The code already does something like that with the errorlog variable. What is the problem with how...
Results 1 to 6 of 6