Search:

Type: Posts; User: Iantaylora

Search: Search took 0.11 seconds.

  1. Re: Couldn't find an appropriate home for this question. [Beginner] [Basic Mathematic formula and if-statements]

    For a not equal function, it should be as simple as !reply.equals("yes"). I believe the ! inverter works with all boolean arguments, so there's always a way to work it into an if statement.

    Also,...
  2. Re: Couldn't find an appropriate home for this question. [Beginner] [Basic Mathematic formula and if-statements]

    I'm somewhat new to Java myself, but one possibility is that your != function isn't designed to work with Strings. Try the function "reply.equals("yes")" or the more useful...
  3. Re: A quick fix and some help reading from excel / text file

    Well, I took some of your advice as far as OOP, and made a unitStats class which knows its own stats, etc, and then I build the unit by giving it its race and two classes. These values provide the...
  4. A quick fix and some help reading from excel / text file

    Alright, so some of you may remember me from the other day, when I needed help fixing for loops and using a Scanner. Things have come a long way since then, and my code is largely functional! My next...
  5. Replies
    4
    Views
    1,005

    Re: How Do I print this shape with for loop

    Can you explain a little bit more about what you mean by "this shape"? If you want code that prints that exact output, what you probably want to do is make two for loops, inside of each other, so...
  6. Replies
    4
    Views
    844

    Re: Help with a broken for loop?

    Andbin, that makes perfect sense, thanks so much! It completely solved my problem. If I run into further issues, should I start a new thread or should I edit the OP for this one, or what is the...
  7. Replies
    4
    Views
    844

    Help with a broken for loop?

    Hello all,

    I'm a new member and relatively new to Java; I took two years in high school but that was about four years ago. I'm making a turn based strategy game based on Final Fantasy Tactics and...
Results 1 to 7 of 7