Search:

Type: Posts; User: cfmonster

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    15,697

    Re: User Input Loop

    The "-1" in this example is being read as a String.

    Double quotes are for string representation, while single quotes are for character representation.
  2. Replies
    7
    Views
    15,697

    Re: User Input Loop

    Thanks. I hadn't realized that there was a built in method for string comparison.
  3. Replies
    7
    Views
    15,697

    User Input Loop

    I've been messing around with this for a bit and cannot seem to code it so that it will work as intended. I'm trying to prompt the user for input repeatedly, until the user enters a -1, when the loop...
Results 1 to 3 of 3