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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -