val := 0: do val := 1 + val; print( val ); if irem( val, 6 ) = 0 then break end if; end do: