| Deutsch English Français Italiano |
|
<vcts54$34hmb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Gerry Jackson <do-not-use@swldwa.uk> Newsgroups: comp.lang.forth Subject: Re: single-xt approach in the standard Date: Tue, 24 Sep 2024 09:10:14 +0100 Organization: A noiseless patient Spider Lines: 36 Message-ID: <vcts54$34hmb$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 24 Sep 2024 10:10:12 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1679f23d9ef143a75f235e30e76a6f91"; logging-data="3294923"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+onu818RwFIVgu0cWlGyTpNu9o3vOVpFA=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:jw2mmhYUz7EijrKTpWbsy2OhGVs= Content-Language: en-GB Bytes: 1722 On 23/09/2024 18:02, Anton Ertl wrote: > mhx@iae.nl (mhx) writes: >> On Mon, 23 Sep 2024 8:36:10 +0000,albert@spenarnc.xs4all.nl wrote: >> >>> In article<vcq1e5$25spg$7@dont-email.me>, >>> Ruvim<ruvim.pinka@gmail.com> wrote: >> [..] >>>> 1 constant a >>>> 1 constant b >>>> ' a ' b = . > ... >> Why? 'a' and 'b' are user defined words, '=' is a standard word, >> and 'true' is the expected outcome. > Are you sure? > > [~:152648] iforth > FORTH> 1 constant a ok > FORTH> 1 constant b ok > FORTH> ' a ' b = . 0 ok > > I actually know of no system that outputs -1. > > - anton I know it's different but: 1 constant a synonym b a ' a ' b = . \ displayed -1 in 5 out of 6 Forths I just tried, including GForth. Comparing xt's is unsafe -- Gerry