dim NewArray as String(89,4)
dim i as integer, j as integer
for i = 1 to 89
newArray(i,1) = Array1(i,1)
newArray(i,2) = Array1(i,2)
for j = 1 to 83
if Array2(j,1) = Array1(i,1) then
newArray(i,3) = Array2(j,2)
newArray(i,4) = Array2(j,3)
exit for 'This will break out of the "for j" loop but not the "for i" loop
end if
next j
next i
|