Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Q about repetitive DATA statements

$
0
0

We were just talking about initializers and DATA statements.

I have a situation where I need constants that are repeated.

I am not sure one can do that with just a DATA statement or

an INITIALIZER. Of course, it can done with a DO loop that executes only once.

But this would be cleaner, if i can only find the right syntax.

See uploaded file test23.f90

AttachmentSize
Downloadtest23.f90252 bytes

Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>