Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: Identifier ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 8226 of 8775
Post > Topic >>

Re: Identifier name length in g77

by Dick Hendrickson <dick.hendrickson@[EMAIL PROTECTED] > May 12, 2008 at 02:17 PM

Ł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
 




 6 Posts in Topic:
Identifier name length in g77
=?ISO-8859-2?Q?=A3ukasz?=  2008-05-12 09:38:31 
Re: Identifier name length in g77
"Dr Ivan D. Reid&quo  2008-05-12 12:53:00 
Re: Identifier name length in g77
Dick Hendrickson <dick  2008-05-12 14:17:02 
Re: Identifier name length in g77
lindahl@[EMAIL PROTECTED]  2008-05-12 11:56:27 
Re: Identifier name length in g77
"robin" <rob  2008-06-11 04:24:29 
Re: Identifier name length in g77
Tim Prince <tprince@[E  2008-06-11 05:46:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 8:38:31 CDT 2008.