Syntax
addresscount(string)
Description
The addresscount() function returns an integer that represents the total amount of IP address in the give CIDR block.
Example
include("net") Range="192.168.0.0/28" Count=addresscount(Range) println("There are ", Count, " IP addresses in the CIDR block: ", Range) There are 16 IP addresses in the CIDR block: 192.168.0.0/28