Re: Find the size of variables in Fortran



David Flower wrote:

LEN() will return 20, but LEN_TRIM will return 11; note however that
this stripes trailing blanks; the assigment statement has automatically
appended 9 blanks, assuming the perpetrator of the compiler was au fait
with the standard!

Perpetrator??? We should love and embrace our compiler "perpetrators"...where would we be without them?

--

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
.