If you are trying to check whether the IP address is on a particular subnet, use one of the UDFs from the UDF forum - there are a few to choose from.

If you want to check whether the IP address is in a range which is not actually a subnet and the IP address is from @IPADDRESS0 then a simple string compare will work, just don't forget to include the spaces.

code:
If $sIPAddress >= "172. 25 16 34" AND $sIPAddress <= "172. 25. 16. 80"
; Do your stuff
Else
Exit 1
EndIf



[ 10. September 2003, 10:38: Message edited by: Richard H. ]