[Oberon] Text.Buffer usage.

peter at easthope.ca peter at easthope.ca
Fri Dec 16 21:07:30 CET 2016


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



More information about the Oberon mailing list