Skip to content

Use the * format in Fortran READ statements #921

Open
@Beliavsky

Description

@Beliavsky

I see that there have been some Fortran codes submitted but that Fortran is not available as an option on the site. Looking at the code interactive_euclidean.f90 , I suggest that

READ(*, '(i10)', iostat=ioerror) temp_a, temp_b

be replaced by

READ(*, *, iostat=ioerror) temp_a, temp_b

which will work even if the user enters two numbers on the same line before pressing Enter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions