Recently have to use a Fortran code written by another folk. He used command-line-arguments a lot. Like this character*80 cint ... getarg(1, cint) read(cint, *) number ... Are these "getarg" and "read(cint, *)" standard fortran syntax, or just dialect used by some compilers?
f*r
10 楼
getarg is compiler extension
【在 r****y 的大作中提到】 : Recently have to use a Fortran code written by another folk. He : used command-line-arguments a lot. Like this : character*80 cint : ... : getarg(1, cint) : read(cint, *) number : ... : Are these "getarg" and "read(cint, *)" standard fortran syntax, or : just dialect used by some compilers? :