tags:

views:

37

answers:

1

Hi

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

many thanks

+5  A: 

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.

High Performance Mark