Am Montag, 11. Mai 2026, 10:34:22 Mitteleuropäische Sommerzeit schrieb Bernd 
Paysan:
> Am Montag, 11. Mai 2026, 05:32:51 Mitteleuropäische Sommerzeit schrieb
> 
> colossus via Gforth discussion and announcements:
> > I have from time to time wanted to perform clean up actions when a marker
> > is run, often close files. Win32Forth allowed this by having MARKER-CHAIN
> > run and I found it quite useful. The other advantage of this arrangement
> > is that it is possible to localize the clean up actions in the same file
> > as the data structure is defined.
> > 
> > I have attached a proposed patch. It is pretty simple and only affects the
> > marker.fs file.
> 
> Maskes sense. While we have chains.fs in Gforth, we usually have a deferred
> word where you can put your chained code in.

Looking at this concept, we should probably have two chains, one for creating 
the marker, one for restoring it.  A typical marker functionality comes in 
pairs, like SECTION-MARKER, and SECTION-MARKER!.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to