6235 FOR K=1 TO NVI