Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of "value" keyword as parameter name in grib2_all_tables_module.f90 #68

Open
edwardhartnett opened this issue Aug 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@edwardhartnett
Copy link
Contributor

In Fortran 2003, "value" was added as a keyword.

We have code like this:

  subroutine get_g2_subcenters(key,value,ierr)
    character(len=*) :: key
    integer :: value,n,ierr

This is not technically forbidden in Fortran but it is not recommended to use a keyword as a variable name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant