[Info-vax] Text processing examples with Fortran requested
Paul Sture
paul.nospam at sture.ch
Wed Nov 18 09:43:23 EST 2009
In article <UyLTRtE1LqIg at eisner.encompasserve.org>,
koehler at eisner.nospam.encompasserve.org (Bob Koehler) wrote:
> In article <hdq07m$q1n$00$1 at news.t-online.com>, Michael Kraemer
> <M.Kraemer at gsi.de> writes:
> >
> > F77 can be almost as painful for text stuff because
> > IIRC the standard does not provide for dynamically allocated
> > character strings.
>
> True, that's in a later standard (99?). Never stopped us, as
> Fortran programmers were were used to the idea that your buffers
> always had to be at least as large as the largest data sample.
Yes, and that applied to COBOL too.
> But you only need 95 to start using dynamica allocation. And
> all us VMS programmers started calling STR$ library routines
> instead. The OP didn't sya he needed portability.
Agreed, and the use of STR$ meant I could port text parsing programs
from FORTRAN 77 to COBOL and vice versa with relative ease.
EVE's box edit feature was a great boon when doing such porting.
--
Paul Sture
c.o.v
More information about the Info-vax
mailing list