[Info-vax] Text processing examples with Fortran requested
Michael Kraemer
m.kraemer at gsi.de
Mon Nov 16 17:24:17 EST 2009
In article <4b00b9f9$0$276$14726298 at news.sunsite.dk>, =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne at vajhoej.dk> writes:
> Michael Kraemer wrote:
> > Arne Vajhøj schrieb:
> >> And besides Fortran 77 is not that bad. CHARACTER is fine. Fortran 66
> >> would be painful.
> >
> > F77 can be almost as painful for text stuff because
> > IIRC the standard does not provide for dynamically allocated
> > character strings.
>
> Lack of dynamic allocation is not necessarily a problem
> for this type of problem.
>
> I don't even think it is likely that it would be used
> even if it were available.
>
If you have to concatenate substrings of lengths unknown at
compile time, the only clean solution is dynamic memory.
I think this is a very common problem in text processing.
More information about the Info-vax
mailing list