Hello
You might be right, good point ... but is it in principle doable? Say I am working with a's somewhere else in the program and there, I need them to be scalars ... I know I can always type a(1,1) though.
Hello, I have following problem. I have integer variables, say a1, a2 and a3 and want a do ... loop running over i=1,3 to do something for each of those a's, say print them for simplicity. More specifically, I would write
integer :: a1,a2,a3
[assign integers to a's]
do i=1,3
[print a's]
end...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.