Deutsch   English   Français   Italiano  
<nnd$4e81da96$1555e24b@cbdfa791fed07730>

View for Bookmarking (what is this?)
Look up another Usenet article

Newsgroups: comp.lang.forth
Subject: Re: Back & Forth - Co-routines
References: <nnd$2fb29a8e$298ef3f8@23fe4f00fa62d734> <b61181aa898f82d521f9fd38d4fa8409@www.novabbs.com> <2025Feb10.081905@mips.complang.tuwien.ac.at> <75f81945380192813776e3b0dd2ddec5@www.novabbs.com>
From: albert@spenarnc.xs4all.nl
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$4e81da96$1555e24b@cbdfa791fed07730>
Organization: KPN B.V.
Date: Mon, 10 Feb 2025 14:45:12 +0100
Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.swapon.de!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feed.abavia.com!abe007.abavia.com!abp004.abavia.com!news.kpn.nl!not-for-mail
Lines: 20
Injection-Date: Mon, 10 Feb 2025 14:45:12 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
Bytes: 1616

In article <75f81945380192813776e3b0dd2ddec5@www.novabbs.com>,
mhx <mhx@iae.nl> wrote:
>> If you want heap allocation (i.e., to be able to reclaim the memory
>> when you no longer need the counter), you can do it with closures, but
>> not with DOES>:
>
>You can just FORGET the word.

If you forego heap allocation, that is.
If you combine heap allocation and FORGET/MARKERS and closures/DOES>
it can be very tricky.

>
>-marcel
-- 
Temu exploits Christians: (Disclaimer, only 10 apostles)
Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall
Art For Home, Office And Garden Decor - Perfect For Windows, Bars,
And Gifts For Friends Family And Colleagues.