for i=1 to 100 do if a[i]=0 then continue end if ... end for