Jump to content

Recommended Posts

Posted

I'm getting error "Next statement with no matching for statement. 

Call ("letsgo")

Func letsgo ()
$file = "c:\scripts\phone2.txt"
FileOpen($file, 0)
For $i = 1 to _FileCountLines($file)
      $sIPAddress = ""
      $line = FileReadLine($file, $i)
      $combine = "polycom_" & $line
      TCPStartup()
      $sIPAddress = TCPNameToIP ($combine)
            If NOT ($sIPAddress = "") Then
                  signIn($sIPAddress)
                     ContinueLoop
Next
FileClose($file)
EndFunc

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...