blob: 2372f9a4463a8cdb514ea4d1b6fd81b8d2cbbb2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module greet_m
implicit none
private
public :: make_greeting
contains
function make_greeting(name) result(greeting)
character(len=*), intent(in) :: name
character(len=:), allocatable :: greeting
greeting = "Hello, " // name // "!"
end function make_greeting
end module greet_m
|