Distance from Numbers

How can I write in the conditions of If some group of numbers between some of two numbers? Thanks.

 
if ( SomeVariable == SomeNumber till SomeNumber)
You use loops for that.

Google "for loop".
Topic archived. No new replies allowed.