How to use Fortran modules?

How to use Fortran modules? 1 You can define constants in your Fortran module but you should avoid to define any other variables (you can define your own data type; see chapter on derived-types) 2 It helps to hide implementation details (and makes it closer to object-oriented programming) 3 Use modules to group routines and data structures (but not data) 4 Define generic procedures and custom operators
For More Information Please Refer:
https://annefou.github.io/Fortran/modules/modules.html
You May Also Like to Read: