mardi 31 octobre 2017

not going into the for loop vbscript

I have two arrays and I need to compare their values. I wrote a for loop and when I am trying to debug its not going into the loop at all.

Dim i, value
dim flag
i = 0
For i = 0 To UBound(groupName_LocationsTable) -1
    flag = False
        If groupName_LocationsTable(0,i) = groupName_getLocationsAPI(0,i) Then
            flag = True
        End If
Next 
If flag Then
    Response.Write groupName_LocationsTable(i) & " not found<br />" "Pass"
Else
    Response.Write groupName_LocationsTable(i) & " not found<br />"
End If

Aucun commentaire:

Enregistrer un commentaire