range comparison

Is there a way to compare a range, I mean, as in

if (var between 80 and 110) ?

Charley

if (var >= 80 && var <= 110)

or similar, depending on inclusivity/exclusivity

thank you, I knew it would be simple but for the life of me couldn't figure it out.
charley