Hello,
I have the following code:
For i = 0 to 100
For j = 0 to 5
If i = 0 AND j=0 then
Next j
End If
Response.write (j)
Response.write (i)
Next
Next
The object here is to not display i & j when they are BOTH equal to 0. All I would like to do here is if i and j are both equal to 0 then the "For j" loop will start again with j = 1
.
The above as it shows will give the error: "Unexpected Next Statement"
Can anyone help?
Thanks.
I have the following code:
For i = 0 to 100
For j = 0 to 5
If i = 0 AND j=0 then
Next j
End If
Response.write (j)
Response.write (i)
Next
Next
The object here is to not display i & j when they are BOTH equal to 0. All I would like to do here is if i and j are both equal to 0 then the "For j" loop will start again with j = 1
.
The above as it shows will give the error: "Unexpected Next Statement"
Can anyone help?
Thanks.