In an integer do loop such as
do i=lower,iupper
.... ; enddo
More specifically with an integer do loop variable default step 1 whose upper limit is atleast as great as the lowerwill it always be the case that after the loop normally exits, eg assuming nothing in the loop such that one may jump out of the loop etc., that the do loop variable will always be left 1 higher than the upper limit? So no matter how many statements intervene after the loop as long as the value of the do loop variable is not changed and assuming within the same program unit (within scope) is it guaranteed that this will always be the case ? For example in the above example i will be iupper+1 assuming iupper>=lower,
that i will equal iupper+1 ? Trials I have done always give this result.
do i=lower,iupper
.... ; enddo
More specifically with an integer do loop variable default step 1 whose upper limit is atleast as great as the lowerwill it always be the case that after the loop normally exits, eg assuming nothing in the loop such that one may jump out of the loop etc., that the do loop variable will always be left 1 higher than the upper limit? So no matter how many statements intervene after the loop as long as the value of the do loop variable is not changed and assuming within the same program unit (within scope) is it guaranteed that this will always be the case ? For example in the above example i will be iupper+1 assuming iupper>=lower,
that i will equal iupper+1 ? Trials I have done always give this result.