Search:

Type: Posts; User: GregBrannon

Search: Search took 0.07 seconds.

  1. Replies
    11
    Views
    1,120

    Re: Using a String[] in a Void or INT???

    There are excellent online resources for learning Java, but there is also some crap out there. I wouldn't say ANY online resource will be helpful.

    A good place to start is the Java Tutorials, but...
  2. Replies
    11
    Views
    1,120

    Re: Using a String[] in a Void or INT???

    This is a loop that collapses your string of 'if' statements into a more compact form:
    // returns the index number for the argument
    protected int getElementNumber( String slabType )
    {...
  3. Replies
    11
    Views
    1,120

    Re: Using a String[] in a Void or INT???

    I don't see any loops. The loops in Java are for, while, and do/while. Did you mean there are loops in the code you didn't post?

    I don't know what problem you're trying to solve. I don't know...
  4. Replies
    11
    Views
    1,120

    Re: Using a String[] in a Void or INT???

    You have a couple "lists" of if statements that could be simplified by using loops and combining actions. There's no reason that I can see to separately assign values to the variables varX and then...
  5. Replies
    11
    Views
    1,120

    Re: Using a String[] in a Void or INT???

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    I assume you're talking about this statement and others like...
Results 1 to 5 of 5