PlasmaFAIR/fortitude
Suggest that `iargc` and `getarg` be replaced by `command_argument_count` and `get_command_argument`
Aperta
#267 aperta il 9 gen 2025
good first issuerule
Metriche repository
- Star
- (207 stelle)
- Metriche merge PR
- (Merge medio 9g 9h) (21 PR mergiate in 30 g)
Descrizione
For a code such as
PROGRAM test_getarg
implicit none
INTEGER :: i
CHARACTER(len=32) :: arg
DO i = 1, iargc()
CALL getarg(i, arg)
WRITE (*,*) arg
END DO
END PROGRAM test_getarg
from the gfortran documentation, Fortitude could suggest that iargc and getarg be replaced by command_argument_count and get_command_argument.