:-(

I check the posts (very nice indeed), but I couldnt figure out how to solve my problem in a simple proper way...

The code below works if the sub segment is /24 (256 IP),
but doesnt "work" if the sub segment is /25 (128 IP) !?!
...and why is that?

If $IP > ""

Select

Case $IP > "192.168.0.1" AND $IP < "192.168.0.255"
? "IP found in Sub1"
Case $IP > "192.168.1.1" AND $IP < "192.168.1.255"
? "IP found in Sub2"

Case $IP > "192.168.10.1" AND $IP < "192.168.10.128" ; <----
? "IP found in Sub3"
Case $IP > "192.168.10.128" AND $IP < "192.168.10.255" ; <----
? "IP found in Sub33"

EndSelect
else
? 'IP Map Not Available!'
EndIf


... getting mad ¤½#"!
_________________________
I will always look out from behind these eyes...