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 6 of 6 Topic 8226 of 8908
Post > Topic >>

Re: Identifier name length in g77

by Tim Prince <tprince@[EMAIL PROTECTED] > Jun 11, 2008 at 05:46 AM

robin wrote:
> "Łukasz" <lukaszb@[EMAIL PROTECTED]
> wrote in message
news:g08s85$cs7$1@[EMAIL PROTECTED]
>> 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.
> 
> That is correct.
> 
>> 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.
> 
> Just try a long name (equal to the longest that you used) in a 2-line
program.
> 
> 
Certain systems ignored trailing characters.  This would not be under 
the control of g77.  Supposing that your system has a tool such as nm, 
use it to check that all the characters appear in the compiled object. 
There's little reason to use g77 now, unless for historic reasons.  It 
hasn't been maintained for several years.  Several current f95 compilers 
aim to sup****t practically all source code which was valid for g77.
 




 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 Wed Nov 19 9:29:36 CST 2008.