Re: Proper way to return a string



In article <2006122715420316807-gsande@worldnetattnet>,
Gordon Sande <g.sande@xxxxxxxxxxxxxxxx> wrote:

Probably because for a character function you need to declare a
fixed size but it can vary if you use a subroutine.

Assuming that you use Fortran character variables for "strings". ;-)

Perhaps I misunderstand, but I think you have the same flexibility
with functions and subroutines. Since f77, both allow the result to
be declared as assumed length (i.e. (*), or in f90, (len=*)).

$.02 -Ron Shepard
.