Originally posted by joe kane:
Hy everyone,
Im try to valadate a input dialog: so that the value can only be between 1 & 100.
As you can see its valadated so that only numbers can be entered....Could you please show me how this is done....
Thanks in advance joe kane
Billybob Marshall has already explained that easiest is to convert the string to an int & check that the int is between 1 & 100.
I want to point out that you don't need a while loop to
test if choice is null. You can do this with an if statement.