Search:

Type: Posts; User: import.Snupas

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    770

    Re: IF with strings?

    Thanks a bunch, it works perfectly now.

    Eclipse likes to point out that I'm missing a semicolon but not that I need to remove one.
  2. Replies
    4
    Views
    770

    Re: IF with strings?

    Searched a few other threads, and found out that you have to use .equals() instead of == when comparing strings, but now I'm getting a syntax error with else.
    EDIT: Didn't see your post there Greg,...
  3. Replies
    4
    Views
    770

    IF with strings?[Solved]

    Hey, complete beginner programmer here, learnt about user input today and decided to mess about. All codes with integers and doubles worked perfectly, but I'm stuck with string. It shows up as...
Results 1 to 3 of 3