You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fortran: allow keyword names to be used for various kinds
Fortran allows keyword names to be used as identifiers of module, type,
interface and other kinds. For instance, in the code below 'Program'
is a keyword but can be used as a name of module, the same for 'Data' and
also interface named 'Program':
module Program
type Data
integer :: contents
end type Data
integer :: i
interface Program
function myFunc(arg)
!...
end function myFunc
end interface Program
contains
function MyFunc(arg)
! ...
end function MyFunc
end module Program
0 commit comments