In http://www.ethoberon.ethz.ch/ethoberon/defs/Texts.Def.html , (* Open a new text buffer B. *) PROCEDURE OpenBuf (B: Buffer); Note 3. at the end of the page explains, "Buffers contains large sequences of objects (both character and non-character) and allow low-level temporary manipulation. ... To prevent broadcasts being sent for potentially each character being written into a text, the text manipulation is first done in a buffer. Operations on buffers do not result in update messages being broadcasted. How is the manipulation of the buffer performed? Append a character to a buffer for example. There is no procedure WrtieBuf(b: Buffer; c: CHAR). 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
On 12/16/16, peter@easthope.ca <peter@easthope.ca> wrote:
In http://www.ethoberon.ethz.ch/ethoberon/defs/Texts.Def.html , (* Open a new text buffer B. *) PROCEDURE OpenBuf (B: Buffer);
Note 3. at the end of the page explains, "Buffers contains large sequences of objects (both character and non-character) and allow low-level temporary manipulation. ... To prevent broadcasts being sent for potentially each character being written into a text, the text manipulation is first done in a buffer. Operations on buffers do not result in update messages being broadcasted.
How is the manipulation of the buffer performed? Append a character to a buffer for example. There is no procedure WrtieBuf(b: Buffer; c: CHAR).
The buffer is wrapped in a Texts.Writer, and callers use Texts.Write et al. to write to the latter.
Manipulation on Buffers is done via Writers. 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 Jörg
Am 16.12.2016 um 21:07 schrieb <peter@easthope.ca> <peter@easthope.ca>:
In http://www.ethoberon.ethz.ch/ethoberon/defs/Texts.Def.html , (* Open a new text buffer B. *) PROCEDURE OpenBuf (B: Buffer);
Note 3. at the end of the page explains, "Buffers contains large sequences of objects (both character and non-character) and allow low-level temporary manipulation. ... To prevent broadcasts being sent for potentially each character being written into a text, the text manipulation is first done in a buffer. Operations on buffers do not result in update messages being broadcasted.
How is the manipulation of the buffer performed? Append a character to a buffer for example. There is no procedure WrtieBuf(b: Buffer; c: CHAR).
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
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (3)
-
Jörg Straube -
peter@easthope.ca -
Robert Ransom