Hi I apologise that this has most likely been asked many many times (so obviously if it's anoying you, dont worry about repying )

Anyway If I got a while loop where the condition needs an int to end the loop, how can I catch a error if someone enters a character instead, because then I just get a indefinite loop.

For example if I create a variable of type Int Answer
it's looking for a integer but as soon as I put a character I get all sorts of fun things happen, would an If statement be the way past this?

I appreciate your time in answering in advance.

Chris

Fourm Rebel with a cause!