Re: character string assumed length



If I call a subroutine with a given character string and I try to put
a larger character string in the string than the field size, what
happens ?

The standard rules for intrinsic assignment of character values apply
- the string is truncated on the right. Since abc is a passed-length
dummy argument, it is character*8 and it operates the same way as if
you had explicitly declared it to be character*8.

Thanks. I had assumed that would be the case but I was not sure.

Lynn

.



Relevant Pages