For Programmers: Free Programming Magazines  


Home > Archive > Fortran > November 2007 > Re: C String Prefix Operator Idea (Was: gfortran diagnostics and so









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: C String Prefix Operator Idea (Was: gfortran diagnostics and so
jamesgiles@att.net

2007-11-24, 7:10 pm


I tend to disagree with both the idea of making the
operator elemental and with leaving the null off the
end. The latter will almost certainly confuse those
that expect the operation to work for c interop.
The former requires more of those unfortunate pad
blanks. With the advent of f2003 and genuinely
variable length strings having operations that
blank pad independently of the assignment operation
will not seem particularly desirable. Being able
to distinguish genuinely significant trailing blanks
from padding is something I need much more often than
elemental operation.

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com