C1015: For/Next arguments mismatch

Top  Previous  Next

Description:

The next clause of a for/next statement must use the same index variable as the for clause.

Example:

 

dim i,j as integer

for i = 1 to 10

next j ' error C1015: 'For'/'Next' arguments mismatch

 

 

See Also

For... Next Statement