[J3] [EXTERNAL] Re: Why is += missing?

Reuben D. Budiardja reubendb at ornl.gov
Thu Sep 2 14:50:52 UTC 2021


On 09/01/2021 10:21 PM, Vipul Parekh via J3 wrote:
> 
> Many aspects of modern Fortran (and by this I mean revisions starting 
> with Fortran 90) with block constructs have the look and feel of 
> technical "grammar" and as such, it is welcome to my peers and 
> colleagues.  From what I have seen and learnt, I believe something like 
> a 'WITH` _statement _clause will go better with modern Fortran when it 
> comes to statement-scope association:
> 
>     with (s => 3*i+1) a(s) = b(s)


But isn't this essentially ASSOCIATE construct?

ASSOCIATE ( s => 3*i+1 )
a(s) = b(s)
END ASSOCIATE

Best,
Reuben


More information about the J3 mailing list