Re: Does this string processing work for you?



Arjen Markus wrote:
But what happens with a loop like:

read( s, *, err=1 ) ( v(i) ,i=7,100,3 )

(By the way the final value of "i" with the Intel Fortran compiler
on Linux is 103)

I would think that should be an error. 100 should be interpreted as a maximum range value that must not be exceeded. I've no idea of standard conformance though.



Regards,

Arjen



--

Gary Scott
mailto:garyscott@xxxxxxx

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

Why are there two?  God only knows.


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


-- Henry Ford
.



Relevant Pages

  • Re: Why do you still use Fortran?
    ... lot of EEs and EETs in software positions... ... Gary Scott ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)
  • Re: My philosophy
    ... when most people who wrote fortran were called "users." ... Gary Scott ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)
  • Re: ADVANCE=no and complex variables
    ... newline" (not escape) is fairly intuitive and would solve some minor ... Gary Scott ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)
  • Group Deterioration
    ... This group appears to be degrading...please everyone that is wrong, admit that you're wrong, and everyone that's right stop rubbing it in. ... Gary Scott ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)
  • Re: Get Key Function?
    ... On Windows, you ought to be able to use an API function of some sort or another to in Win32). ... Support the Original G95 Project: http://www.g95.org ... Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html ...
    (comp.lang.fortran)