Modern Fortran: Output format without label -


i looking way specify output format without using label.

to understand mean, label:

write(*,1001) icount, x, y 1001 format (i5,f5.2,e12.3) 

without label should put format (i5,f5.2,e12.3) somewhere in write statement, write(*,format(i5,f5.2,e12.3)) icount, x, y

i think saw somewhere unfortunately cannot find again. if exists feature of newer fortran version. maybe fortran 90? maybe fortran 2008?

try

write(*,'(i5,f5.2,e12.3)') icount, x, y 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -