1805 FOR I=II TO II+NI-1