Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
8
Task/Function-definition/Fortran/function-definition-8.f
Normal file
8
Task/Function-definition/Fortran/function-definition-8.f
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module elemFunc
|
||||
contains
|
||||
elemental function multiply(x, y) result(z)
|
||||
real, intent(in) :: x, y
|
||||
real :: z
|
||||
z = x * y
|
||||
end function multiply
|
||||
end module elemFunc
|
||||
Loading…
Add table
Add a link
Reference in a new issue