I would suggest the following:
Code:
If x => 5 Then
     If x <= 8 Then
     [do something code here]
     Endif
Endif
Of course there are probably other possibilities.