Re: character string assumed length
- From: string <strung@xxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 21:22:07 GMT
Lynn McGuire wrote:
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 ? For example:
sub 1:
character*8 abc
call def (abc)
sub 2:
subroutine def (abc)
character*(*) abc
C this string is more than 8 characters
abc = '01234567890123456789'
What (will) happen is the onslaught of the evangelists crawling all over
you for politically incorrect syntax and sprinkles of endless/useless
babble. As for your question, try it before you buy it - it does what
you expected it to do, 'abc' comes out looking as '01234567'.
.
- Follow-Ups:
- Re: character string assumed length
- From: Richard Maine
- Re: character string assumed length
- References:
- character string assumed length
- From: Lynn McGuire
- character string assumed length
- Prev by Date: Re: character string assumed length
- Next by Date: suggestion for new intrinsic function: CONFORM
- Previous by thread: Re: character string assumed length
- Next by thread: Re: character string assumed length
- Index(es):
Relevant Pages
|