The gcc manual mentions getarg as a gnu extension. It seems to be supported by many compilers (i.e. the rather strict f2c also understands it). But getarg is not mentioned in the FORTRAN77 standard. So is/was there any standard conforming way to get command line arguments in FORTRAN77?
>Solution :
No there is no way. This kind of interaction with the operating system is not covered in the ancient FORTRAN 77 standard and must be done using non-standard extensions or using standard features from Fortran 2003 as in How to use command line arguments in Fortran?.