Hello...

I am working on a logon script for laptops with a ras connection.

We use these laptops for LAN, ISDN and RAS so i have to check on ip to run the script only if the RAS connection is up...

Here is a sample of the script:

$RASsub = Ltrim(Substr($DhcpIPAddress,10,14))
If ($RASsub>=1 and $RASsub<=39)
$done=1
Goto endloop
Endif

The IP address must be within 1 and 39
So when the ip addres is 99 all is oke, but when the ip address is 100 or more it looks like it reads 10 instead of 100 ??? beats me ??? why this is but if i set the $RASsub to "$RASsub = 100" manually it works oke?

does anyone know if this is a bug or?

I use Kix4.20
_________________________
greetz dm330, from the Netherlands