[Oberon] Processing Text in each of several files & garbage collection.

peter at easthope.ca peter at easthope.ca
Tue Nov 27 21:50:26 CET 2018


For an arbitrary number of files, Oberon.HTML.Mod can create an HTML 
file from Text a file.  This code is visible near the end of 
https://en.wikibooks.org/wiki/Oberon/Oberon.HTML.Mod .

  WHILE (S.class = Texts.Name) & (Texts.Pos(S) < end + S.len + 1) DO
    Out.String(S.s); Out.String(" => ");
    NEW(T); Texts.Open(T, S.s);
All the opened Texts remain in memory until garbage collection after the 
HTML module is unloaded; correct?  Can memory be salvaged without 
unloading the module?

A message from B. Smith-Mannschott in 1999 is somewhat relevant.

Thanks,                 ... Lyall E.

Message composed and transmitted by software designed to avoid the 
complication, overhead and vulnerability of antivirus software.

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                                  +1 
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

More information about the Oberon mailing list