False alarm... Sorry.

code[index] should be code1[index] in the for-next loops.

Ioannis