- Timestamp:
- 2020-06-03T16:27:48+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools_dev_r12970_AGRIF_CMEMS/WEIGHTS/src/scripgrid.F90
r2352 r13025 7 7 CHARACTER(char_len) :: infile 8 8 9 #if defined ARGC 10 INTEGER :: IARGC 11 EXTERNAL IARGC 12 13 if (IARGC() == 1) then 14 CALL GETARG(1, infile) 15 CALL convert( infile ) 16 ELSE 17 write(6,*) 'need to supply a namelist file' 18 ENDIF 19 #else 9 if (COMMAND_ARGUMENT_COUNT() == 1) then 10 CALL GET_COMMAND_ARGUMENT(1, infile) 11 else 20 12 write(6,*) 'enter name of namelist file' 21 13 read(5,*) infile 14 endif 22 15 23 16 CALL convert( infile ) 24 #endif25 17 26 18 END PROGRAM scripgrid
Note: See TracChangeset
for help on using the changeset viewer.