Sub test10()
Dim test(10, 5)
test(1, 1) = "10.0.0.0/8"
test(1, 2) = "00001010000000000000000000000000"
test(1, 3) = 8
test(2, 1) = "10.1.1.5/32"
test(2, 2) = "00001010000000010000000100000101"
test(2, 3) = 32
checkip(1,1) = "10.1.1.5"
checkip(1,2) = "00001010000000010000000100000101"
checkip(1,3) = 32
for i = 1 to 2
if test(i,2) = checkip(1,2) then
biggestsubnet = 1
MsgBox test(1, 1)
MsgBox test(1, 3)
End Sub
Sub test9()
MsgBox Weekday("2020/10/10")
End Sub
Sub test8()
Dim test(500, 5)
test(1, 1) = "192.168.1.1"
test(1, 2) = 192
test(1, 3) = test(1, 2) + 1
MsgBox test(1, 1)
MsgBox test(1, 3)
End Sub