END SELECT statement
Standard: F77 F90 F95 F2003
  Example Program
END SELECT construct-name

The blank between END and SELECT is optional.

The construct-name shall appear if and only if the SELECT CASE
or SELECT TYPE construct is named.
The END SELECT statement marks the end of a SELECT CASE or SELECT TYPE construct.

It is permissible to branch to an END SELECT statement only from within the construct. Executing an END SELECT statement has no effect.
CASE construct, CASE statement, CASE DEFAULT statement, SELECT CASE statement, SELECT TYPE construct