Fortran

Guide To Learn

New Fortran elements, at a glance

  • use statement for accessing a module
  • Built-in iso_fortran_env module, which includes
    • portable type kind parameters: int8int16int32int64real32real64real128
    • functions to get compiler information: compiler_infocompiler_version
  • module/end module for defining a module
  • use ..., only: ... syntax to import specific variables and procedures defined in a module
  • The => operator to rename entities on import
  • public and private attributes to allow and restrict access to entities defined in a module, respectively
New Fortran elements, at a glance

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top