在VBA for Excel中:
For i = 0 To UBound(artMaster)
For j = i To UBound(artMaster)
If i <> j And artMaster(i).VDN = artMaster(j).VDN Then
Call DeleteArrayItem(artMaster, j)
End If
Next j
Next i
Run Code Online (Sandbox Code Playgroud)
删除其中一个数组项后,如何减少循环的迭代?