Łukasz wrote:
> Hi All,
> Could somebody tell what is the limitation on the length of identifier
> names (functions, variables) in GNU g77 compiler ?
> To my knowledge, the Fortran 77 standard limits these names to just six
> characters. On the other hand actual compilers, including g77, permit
> using longer names (which I usually do). Now I'm debugging a piece of
> code in which I used this freedom but encountered some strange
> behaviours and am not sure whether I did not go with identifier names
> lengths to far.
>
> Thank you in advance,
>
> lukasz
The Fortran 90 standard allows names to have 31 characters. If you
stick with that limit, your programs should be ****table to any
processor. g77 is pretty old (that doesn't mean it doesn't work),
if you switch to gfortran or g95 things might work better on
newer operating systems.
Dick Hendrickson


|