Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: RfD: Quotations Date: Wed, 29 Jul 2015 11:36:02 -0700 Organization: A noiseless patient Spider Lines: 10 Message-ID: <876152olpp.fsf@jester.gateway.sonic.net> References: <96810113-b65d-4116-9443-1d3b34cd9a71@googlegroups.com> <675f315e-17ca-4fbd-93bb-79ce8e9eae86@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="d4217d68945dedf510265c644f2a7daa"; logging-data="1436"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//ITvsDf9SegWwRey3ASLU" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:9StlR8sHdoDtqKSyPrlT2rPPEzg= sha1:51tYjq4Fm3zcNIgII+Ztm1fPXEQ= Xref: csiph.com comp.lang.forth:40917 Bernd Linsel writes: > Outer words' locals are visible, and when referenced within the > quotation, they are copied into a dedicated "static variable area" > (term borrowed from C, and "static" shall be understood as in C) > belonging to the quotation (and living as long as the quotation > itself). How do you know how long the quotation lives, without garbage collection? It is still alive if you have passed its xt to some other function, that has saved the xt somewhere.