IpInrange()

Determines if the checked IP address is in the IP address range

Usage

BOOLEAN = IpInrange( ip, mask, checkip )
Argument Summary
ip ip - the IP address. If in a simple notation (10.0.0.1) then netmask must be present, otherwise CIDR notation (10.0.0.1/24)
mask mask - if the IP address is not in CIDR notation, this is the netmask
checkip checkip - the IP address to check if its in the range [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

IpInrange(
   ip=?, 
   mask=?, 
   checkip=?
);

Supports passing parameters as a structure using ArgumentCollection:

IpInrange( ArgumentCollection={
   ip : ?, 
   mask : ?, 
   checkip : ?
} );