This works, too:
code:
$octet=split(@IPADDRESS0,'.')
SELECT
CASE val(trim($octet[1]))=1 and val(trim($octet[2]))=1
$Vpn = "No"
CASE val(trim($octet[1]))=2 and val(trim($octet[2]))=1
$Vpn = "No"
CASE 1
$Vpn = "Yes"
ENDSELECT
IF $Vpn = "No"
CALL "iowafalls.kix"
ELSE
CALL "ackley.kix"
ENDIF

Basically, it splits the IP address into four octets 0-3 and then checks the values for octet 1 and 2.

[ 11 July 2002, 23:42: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.