[Oberon] Re: Text.Buffer usage.

peter at easthope.ca peter at easthope.ca
Sat Dec 17 17:54:25 CET 2016


From:	Robert Ransom <rransom.8774 at gmail.com>
Date:	Fri, 16 Dec 2016 15:26:56 -0500
> The buffer is wrapped in a Texts.Writer, and callers use Texts.Write
> et al. to write to the latter.

From:	=?utf-8?Q?J=C3=B6rg_Straube?= <joerg.straube at iaeth.ch>
> Details can be found in chapter 5.1.2 and 5.1.3 in
> https://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.System.pdf

OK.  Thanks to both of you.

A specific difficulty.
SD is appended to DB according to,
"(* Append copy of source buffer SB to destination buffer DB. *)
 PROCEDURE Copy (SB, DB: Buffer);"

Then I want to empty SD and reset the Writer which was writing into it.

The process of writing to SD, appending SD to DB and reseting SD is to 
be iterated.

Possible without repeating Texts.OpenWriter?

Thanks,                         ... Lyall E.



-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca



More information about the Oberon mailing list