Dear,

For more addresses we don't need more IF statements.
Another example
code:
IF (Instr("-"+@ipaddress0+"-","- 10. 22. 16.  0- 10. 22. 16. 5- 27. 34.129.  1-") <> 0)
? "found ip-address"
ELSE
? "no member of specified ip-address"
ENDIF

Of course everybody understand that you should search for a shorter version, when
you want to manage a lot of computers. Mostly the way of managing those values is
more complex.
Of course the UDF forum contains hardly any UDF to get any part of your network
configurations. It is a good idea for looking "how other persons has solved some
specific situations".
Of course "10.22.16.0" isn't an ip-address in normal situations. For us it is only
an example. Eran was also talking about ip-address.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA