常规名字长度在fortran90 [英] routine name length in fortran90

查看:167
本文介绍了常规名字长度在fortran90的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道fortran 90中的例程名和变量名是否有最大长度?

非常感谢


Does anyone know if there is a maximum length for routine name and variable name in fortran 90 ?

many thanks

解决方案

Yes, the Fortran standards define a maximum length for names of things, including both routines and variables. In Fortran 90/95 the maximum length was 31 characters, in Fortran 2003 it is now 63 characters. In earlier versions it was as short as 6 characters. Your compiler may allow (non-standard) longer names.

这篇关于常规名字长度在fortran90的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆