[Info-vax] Text processing examples with Fortran requested

JF Mezei jfmezei.spamnot at vaxination.ca
Mon Nov 16 18:13:23 EST 2009


Michael Kraemer wrote:

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

It isn't a problem at Microsoft where they just allow a string to be
moved to a buffer even if the buffer isn't big enough. They just
"borrow" memory from the neighbouring variable(s) and possibly
neighbouring sections of code. Once they are done with it, the allow the
rightful onwers to use that memory again. No different than borrowing a
cup of sugar from a neighbour  when you don't have enough.

:-) :-) :-) :-) :-)



More information about the Info-vax mailing list