FORALL-ELSEFORALL Construct Up: High Performance Fortran Journal Previous: Extensions


FORALL-ELSEFORALL construct is a natural generalization of Fortran 90 WHERE-ELSEWHERE construct. A construct proposed in previous drafts of the HPF: FORALL(I=1:N,J=1:N) WHERE(MASK) assignment ELSEWHERE assignment ENDWHERE ENDFORALL seems to introduce unnecessary limitations coming from limitations of WHERE construct: the mask array must conform with the variables on the right side in all of the array assignment statements in the construct.
Thu May 5 15:11:02 CDT 1994