I don't think you can use the break statement in for loops. I guess you would have to set the count variable to something greater than the ending condition in the loop, that way it won't loop anymore.
for int(i=0; i<10; i++)
{
if (i=2)
{
i = 11;
}
}
or something like that;
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
Ok, that was my second guess...
You have to use equals() to compare strings like you were wanting.
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20