compiler_version in Fortran Wiki
## Description `compiler_version` returns a string with the name and the version of the compiler. ## Standard [[Fortran 2008]] ## Class Inquiry function of the module [[iso_fortran_env]] ## Syntax ~~~~~~~~~~~~~~~~~~~~~~~~ {: lang=fortran } str = compiler_version() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## Arguments None. ## Return value The return value is a default-kind string with system-dependent length. It contains the name of the compiler and its version number. ## Example ~~~~~~~~~~~~~~~~~~~ {: lang=fortran } use iso_fortran_env print '(4a)', 'This file was compiled by ', & compiler_version(), ' using the options ', & compiler_options() end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## See also [[compiler_options]], [[iso_fortran_env]] category: intrinsics
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル