I have been thinking about possible ambiguities for some time, but couldn’t really find one. An implied do is beween parenthesis (...)
, and a list of scalars and/or arrays does have the columns :
Breaking news: This syntax is accepted in the Intel compiler:
print*, [1:10:3]
print*, [5:3:-1, 100]
end
Gives
Program returned: 0
Program stdout
1 4 7 10
5 4 3 100
I’m going to submit a proposal