Deutsch   English   Français   Italiano  
<2024Sep23.190251@mips.complang.tuwien.ac.at>

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: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: single-xt approach in the standard
Date: Mon, 23 Sep 2024 17:02:51 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 29
Message-ID: <2024Sep23.190251@mips.complang.tuwien.ac.at>
References: <vcbn5e$3etuk$1@dont-email.me> <vcbuog$3etuk$3@dont-email.me> <nnd$0f2e6033$478228ed@d9a7750878a12d98> <vcq1e5$25spg$7@dont-email.me> <nnd$0842ed34$3aad0e10@54a771cc5f051015> <cbfd43c052e782daf7fd65e9464c1d30@www.novabbs.com>
Injection-Date: Mon, 23 Sep 2024 19:04:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="223f54ca6da4b49a5335d1e89067df21";
	logging-data="2937101"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18KbLfGqY1AkLPqTkf7LRYQ"
Cancel-Lock: sha1:waAbfB54wcaXJg3YWfUGQfWe+X0=
X-newsreader: xrn 10.11
Bytes: 1842

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
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
   EuroForth 2024: https://euro.theforth.net