| Deutsch English Français Italiano |
|
<v5s019$jbd6$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Krishna Myneni <krishna.myneni@ccreweb.org> Newsgroups: comp.lang.forth Subject: Re: 0 SET-ORDER why? Date: Sun, 30 Jun 2024 11:10:17 -0500 Organization: A noiseless patient Spider Lines: 34 Message-ID: <v5s019$jbd6$1@dont-email.me> References: <v5fjkr$1p13i$1@dont-email.me> <2024Jun26.094910@mips.complang.tuwien.ac.at> <v5gs5j$23lka$2@dont-email.me> <2024Jun28.175045@mips.complang.tuwien.ac.at> <v5p51t$3utd9$2@dont-email.me> <6680c10c$1@news.ausics.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 30 Jun 2024 18:10:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="28e027d9b804f541c185bf948998100f"; logging-data="634278"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+32SiaZ64D9x+d1Lf+Rpsb" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:IA3dFzHkDwAORQWUl+zOsvXBQ9o= Content-Language: en-US In-Reply-To: <6680c10c$1@news.ausics.net> Bytes: 2414 On 6/29/24 21:21, dxf wrote: > On 30/06/2024 12:17 am, Krishna Myneni wrote: >> On 6/28/24 10:50, Anton Ertl wrote: >>> Krishna Myneni <krishna.myneni@ccreweb.org> writes: >>>> On 6/26/24 02:49, Anton Ertl wrote: >>>>> Krishna Myneni <krishna.myneni@ccreweb.org> writes: >>>>>> Why is 0 a valid argument to SET-ORDER (from the optional Search-Order >>>>>> word set)? It can leave a Forth system in a non-recoverable state. >>>>> >>>>> So what? There are lots of ways to put a Forth system in a >>>>> non-recoverable state. >>>>> ... >>>> >>>> By design? No. >>> >>> Does it matter? >>> >> >> Yes, it matters. Not everyone uses Forth to develop and use turnkey applications. Some of us rely on the Forth environment itself as the application interface, where definitions in a precise search order *are* the interface. Inadvertently emptying the search order and violating the notion of a minimum search order would mean loss of data from a lengthy computation or data acquisition. > > Under what circumstances is 0 SET-ORDER executed inadvertently? > One example: assume you have a value containing the number of wordlists 0 value Nwid and it is not properly set. Then doing, wid1 wid2 ... widn Nwid SET-ORDER -- KM