Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Fortran 90中的例程名称最大长度_Fortran - Fatal编程技术网

Fortran 90中的例程名称最大长度

Fortran 90中的例程名称最大长度,fortran,Fortran,有人知道Fortran 90中例程名称和变量名称是否有最大长度吗?是的,Fortran标准定义了事物名称的最大长度,包括例程和变量。在Fortran 90/95中,最大长度为31个字符,而在Fortran 2003中,现在为63个字符。在早期版本中,它只有6个字符。您的编译器可能允许(非标准)更长的名称。@francescalus:这很公平。但奇怪的是。。。如果你想问所有的问题,你会不会遵循[fortran*]标记?耸肩

有人知道Fortran 90中例程名称和变量名称是否有最大长度吗?

是的,Fortran标准定义了事物名称的最大长度,包括例程和变量。在Fortran 90/95中,最大长度为31个字符,而在Fortran 2003中,现在为63个字符。在早期版本中,它只有6个字符。您的编译器可能允许(非标准)更长的名称。

@francescalus:这很公平。但奇怪的是。。。如果你想问所有的问题,你会不会遵循[fortran*]标记?耸肩