Do you mean:
Code:
$a=3
$x=1
$y=5
If $a>=$x AND $a<=$y "Yes" Else "No" EndIf