PlasmaFAIR/fortitude

Suggest that `iargc` and `getarg` be replaced by `command_argument_count` and `get_command_argument`

Aberta

#267 aberto em 9 de jan. de 2025

 (4 comentários) (1 reação) (0 responsável)Rust (33 forks)auto 404
good first issuerule

Métricas do repositório

Stars
 (207 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador