File: main.f90

package info (click to toggle)
fortran-fpm 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,016 kB
  • sloc: f90: 47,650; sh: 394; ansic: 277; makefile: 36; cpp: 30; fortran: 8
file content (10 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
module greet_m
  implicit none
  character(*), parameter :: greeting = 'Hello, fpm!' 
end module greet_m

program program_with_module
  use greet_m, only: greeting
  implicit none
  print *, greeting
end program program_with_module