[J3] Consideration of Paper 18-242 at Meeting 218 (Was: 18-242)

Van Snyder Van.Snyder at jpl.nasa.gov
Mon Dec 3 15:26:49 EST 2018


On Mon, 2018-12-03 at 15:12 -0500, Vipul Parekh via J3 wrote:
> do ( integer(8) :: i = n:m ) !<-- NOTE the parenthesis around the loop
> header and the colon in control spec as in n:m instead of n,m
> ! object i is now a construct entity
>    if (a(i) < 0) exit
> end do

The colon in the loop control in DO CONCURRENT (and FORALL) was intended
to emphasize that iterations are not in any particular order.

The comma in the loop control for the current (and proposed) DO
construct are intended to emphasize that the iterations are in the order
of the sign of the stride expression.




More information about the J3 mailing list