character string assumed length
- From: "Lynn McGuire" <nospam@xxxxxxxxxx>
- Date: Tue, 27 Feb 2007 14:36:58 -0600
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'
Thanks,
Lynn McGuire
.
- Follow-Ups:
- Re: character string assumed length
- From: string
- Re: character string assumed length
- From: Michael Metcalf
- Re: character string assumed length
- From: Steve Lionel
- Re: character string assumed length
- Prev by Date: Re: integer*8 speed vs integer*4 speed
- Next by Date: Re: character string assumed length
- Previous by thread: OpenMP: data scoping and modules
- Next by thread: Re: character string assumed length
- Index(es):
Relevant Pages
|