What do these VBScript statemets do? : I don't know anyone that can read VBScript. I am wondering if anyone help me read the following statements?

    For i = To $CompName -> Size
     If CompIP = $COMPUTER_IP[i] Then
       $NodeNumber = i
       $ComputerID = $CompName[i]
       i = $CompName -> Size + 1
       $DemoMode = 0
     Else 'Demomode
       $NodeNumber = 1
       $DemoMode = 1
       $ComputerID = "Demo Mode"
     End if
    Next

*****

AND

*****

    For i = 1 To $CompName -> Size
     If $CompName[i] = NodeName Then
        GetNodeNumber=i
        'Exit Loop
        i = $CompName -> Size + 1
     End if
    Next

    If GetNodeName = -1 Then $Trace("Node not found")

*****

ComputerName is TABLET4.
IP Address is 172.10.10.7

*****

Thank you!



