For Programmers: Free Programming Magazines  


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









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
Gary Scott

2007-11-25, 7:14 pm

Dan Nagle wrote:

> Hello,
>
> Gary Scott wrote:
>
>
>
> AIUI, your proposal altered existing character literals in two ways:
> One graphic character had a new meaning; and
> The length of the literal is no longer the number of graphic characters
> in it.
>
> AIUI, your proposal altered fixed length character strings by allowing
> a longer literal to be entirely contained within the string.
>
> Am I so far off in the weeds?
>

It merely provided a static template which exists as a fixed length
string. It is treated exactly as a fixed length string except when
alternate processing is explicitly applied. Post processing performs
the substitution for both "escape" sequences or the generic string
substitutions. Could be done at compile time as well as run time.

--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Sponsored Links







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

Copyright 2008 codecomments.com