[Oberon] Program ? Texts.Replace(T, beg, end, Bufr);
Greg Haynes
haynes at pcisys.net
Sat Aug 10 04:44:35 CEST 2002
cglur at onwe.co.za wrote:
>
> I can't see how to use the facilities of Texts.Mod to
> Texts.Replace(T, beg, end, Bufr);
> because I can't see how to pre-load Bufr.
VAR W: Texts.Writer;
...
Texts.OpenWriter(W);
Texts.WriteString(W, "some string");
(or other Texts write procedures for chars, integers, etc.)
W.buf is the buffer you need:
Texts.Replace(T, beg, end, W.buf);
-Greg
More information about the Oberon
mailing list