Quote:

@ADAPTERx - adapter name
@SUBNETx - subnet mask
@GATEWAYx - default gateway




These are already provided by the KiXtart EnumIPInfo() function

Quote:

@NETWORKx - logical network based on @IPADDRESSx and @SUBNETx




There are quite a few UDFs to do this for you.

Check out IPDecimal() for a general purpose utility for calculating networky stuff: http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=119992&an=&page=0&vc=1