PlasmaFAIR/fortitude
Suggest that `iargc` and `getarg` be replaced by `command_argument_count` and `get_command_argument`
オープン
#267 opened on 2025/01/09
good first issuerule
Repository metrics
- Stars
- (207 個のスター)
- PR merge metrics
- (平均マージ 9d 9h) (30d で 21 merged PRs)
説明
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.