J
Jase
Hi,
I have a program that prompts a user to input a String value. The program
then does stuff with this String then prompts for another String. However I
want the loop/program to halt when the user enters "stop!".
I have attempted this with:
while(inputWord != "stop!")
{
inputWord = inputBox.getString("Please type in a word: ");
//stuff
}
..... but it doesn't work. Any ideas how I can sort this?
I have a program that prompts a user to input a String value. The program
then does stuff with this String then prompts for another String. However I
want the loop/program to halt when the user enters "stop!".
I have attempted this with:
while(inputWord != "stop!")
{
inputWord = inputBox.getString("Please type in a word: ");
//stuff
}
..... but it doesn't work. Any ideas how I can sort this?