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 ? 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

.



Relevant Pages

  • Re: character string assumed length
    ... If I call a subroutine with a given character string and I try to put ... character*8 abc ... subroutine def (abc) ...
    (comp.lang.fortran)
  • Re: VLOOKUP question
    ... > correspond to a given character string in column 1. ... > abc 3 ... > bcd 5 ... > formula cell. ...
    (microsoft.public.excel.misc)
  • Re: Cut and paste part of a string in VBA
    ... In other-words, I need ... AND sometimes column "J" will have a 5 character string like "ABCD1". ... "ABC" in final result. ... I probably need to add another command to it...... ...
    (microsoft.public.excel.worksheet.functions)
  • Re: functions returning (pointer to) subroutine?
    ... but I could not find a reference whether anyone tried to return a ... You are confusing a name with the thing named. ... returning a subroutine name. ... A name would just be a character string. ...
    (comp.lang.fortran)