Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!.POSTED!not-for-mail From: Bernd Linsel Newsgroups: comp.lang.forth Subject: Re: RfD: Quotations Date: Thu, 30 Jul 2015 12:06:30 +0200 Organization: news.netcologne.de Lines: 25 Distribution: world Message-ID: References: <96810113-b65d-4116-9443-1d3b34cd9a71@googlegroups.com> <675f315e-17ca-4fbd-93bb-79ce8e9eae86@googlegroups.com> NNTP-Posting-Host: xdsl-87-79-245-75.netcologne.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: newsreader4.netcologne.de 1438250784 1598 87.79.245.75 (30 Jul 2015 10:06:24 GMT) X-Complaints-To: abuse@netcologne.de NNTP-Posting-Date: Thu, 30 Jul 2015 10:06:24 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: Xref: csiph.com comp.lang.forth:40953 Am 30.07.2015 um 10:10 schrieb Alex McDonald: > on 30/07/2015 00:38:52, Bernd Linsel wrote: >> Am 29.07.2015 um 19:24 schrieb Alex McDonald: > >>> >>> That is the same as using global variables. Locals fix a well understood >>> problem when using globals; re-entrancy and recursion to name but two. >>> >> >> That's admittedly true. >> In fact, they are global variables, and not re-entrant. Just syntactic >> sugar, as quotations are as a whole. >> > > You are proposing "global locals"? [x] You do not understand what I've described lenghtily. For every child in the call chain of a function, the local variables of the functions above (invoked before) seem to be global, as all children are accessing the same instance of that parent's/grandparent's/grand-... local variable. (Presuming dynamic scoping or nested definitions, like quotations)