S*y
4 楼
If you're using Fortran 77, the restriction is still there.
Even though your compiler allows you using more than 6 characters,
it's just the extension of your compiler, rather than the standard of F77.
If you're using Fortran 90, there is no restriction on the length
of the variable names. This is the standard that any F90 compiler
should comply with.
【在 bd 的大作中提到】
: 我的是5。0,
: 其实我自己用小程序试过,好象区分的,总是有点不放心。
: 当初fortran77的语法是:变量名一般不超过6位,超过的只取前6位。
Even though your compiler allows you using more than 6 characters,
it's just the extension of your compiler, rather than the standard of F77.
If you're using Fortran 90, there is no restriction on the length
of the variable names. This is the standard that any F90 compiler
should comply with.
【在 bd 的大作中提到】
: 我的是5。0,
: 其实我自己用小程序试过,好象区分的,总是有点不放心。
: 当初fortran77的语法是:变量名一般不超过6位,超过的只取前6位。
bd
5 楼
visual fortran默认是F90吧,其实我用的语法是F77的,但测试时发现确实可以区分6位
以上的。
【在 S***y 的大作中提到】
: If you're using Fortran 77, the restriction is still there.
: Even though your compiler allows you using more than 6 characters,
: it's just the extension of your compiler, rather than the standard of F77.
: If you're using Fortran 90, there is no restriction on the length
: of the variable names. This is the standard that any F90 compiler
: should comply with.
以上的。
【在 S***y 的大作中提到】
: If you're using Fortran 77, the restriction is still there.
: Even though your compiler allows you using more than 6 characters,
: it's just the extension of your compiler, rather than the standard of F77.
: If you're using Fortran 90, there is no restriction on the length
: of the variable names. This is the standard that any F90 compiler
: should comply with.
相关阅读
[转载] 问个弱智的branch and bound 问题哈,抓狂中~~~请教极值问题急,关于数据拟合软件a compuational question[转载] 大家怎么看数学与计算机matlab编译生成的exe文件能在linux上运行嘛?CADD, a blessing or a curse?Help! 有谁用过LSODE/LSODA?fortran还是matlab?java可以用什么数值计算的库?[转载] Re: 未婚证明求救请教Silicon Graphics Indigo R4000和现在的主流配置有[转载] 计算神经系统科学(Computational Neuroscience)有clustering by openMosix建了一个模型,要用finite devided difference metho[转载] 谁能推荐有关利用fft近似微分的书?A Probability Problem请指点:-)深夜,急!Ask help for a simple question Using OpenMP 3 zz