WRITE( *, 1 ) 1 FORMAT( 'This is an apostrophe ''.') WRITE( *, 2 ) 2 FORMAT( "This is an apostrophe '.") ENDThe above program writes this message twice: This is an apostrophe '.Blank Editing (B,BN,BZ) The B, BN, and BZ edit specifiers control interpretation of imbedded ...
WRITE( *, 1 ) 1 FORMAT( 'This is an apostrophe ''.') WRITE( *, 2 ) 2 FORMAT( "This is an apostrophe '.") ENDThe above program writes this message twice: This is an apostrophe '.Blank Editing (B,BN,BZ) The B, BN, and BZ edit specifiers control interpretation of imbedded ...
转载自https://iowiki.com/fortran/,在此基础上做了一些补充。 Fortran - Overview Fortran,源自公式翻译系统,是一种通用的命令式编程语言。 它用于数字和科学计算。 Fortran最初由IBM在20世纪50年代开发用于科学和工程应用。 Fortran统治了这个编程领域很长一段时间,并且因为高性能计算而变得非常流行。 它支持 - ...
Fname是表示文件名的字符串。 read (unit no, format no) list-of-variables read(*,*) m, n 代表从标准输入得到两个任意格式的值,赋值给M和n 同理 write(*,*) list-of-variables 如果想格式化输出,可以 write(*, label) list-of-variables label format format-code 比如, write(*, 900) i, x 9...
Assigned FORMAT specifiers cH edit descriptor Descriptions of obsolescent features in the standard appeared in a small font and compilers were to provide the ability to issue diagnostics for the use of obsolete features. Now we come to Fortran 95. Keep in mind that the Fortran 90 standard did...
I edit descriptor expected for INTEGER 整数型数据的格式化输入和输出需要I编辑符L edit descriptor expected for LOGICAL 逻辑型数据的格式化输入和输出需要L编辑符Multiple radix specifiers输入或输出语句重复说明 Array already allocated 数组已分配 Array size zero or negative 数组大小为0或负数 Array not allocated...
Multiple radix specifiers输入或输出语句重复说明 Array already allocated数组已分配 Array size zero or negative数组大小为0或负数 Array not allocated没有被分配的数组 Invalid argument非法参数 Invalid number in input输入非法数字 Invalid string in input输入非法字符串 Comma missing in COMPLEX input输入的多个表...
When a parentREADstatement is active, an input/output statement does not read from any external unit other than the one specified by the dummy argumentunitand does not write to any external unit. When a parentWRITEorPRINTstatement is active, an input/output statement does not write to ...
Intel(R) Compiler includes compiler options that optimize for instruction sets that are available in both Intel(R) and non-Intel microprocessors, but may perform additional optimizations for Intel microprocessors than for non-Intel microprocessors. In addition, certain compiler options for Intel(R) Com...
WRITE( *, 1 ) 1 FORMAT( 'This is an apostrophe ''.') WRITE( *, 2 ) 2 FORMAT( "This is an apostrophe '.") ENDThe above program writes this message twice: This is an apostrophe '.Blank Editing (B,BN,BZ) The B, BN, and BZ edit specifiers control interpretation of imbedded ...