Re: THROW codes and ambiguous conditions

Liste des GroupesRevenir à cl forth 
Sujet : Re: THROW codes and ambiguous conditions
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 09. Jun 2025, 12:36:40
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <59e4ae185452968c7865c9f48d631a11d7ec77ee@i2pn2.org>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 9/06/2025 8:49 pm, albert@spenarnc.xs4all.nl wrote:
In article <15f0ff69ffcb0b25a08cace9d19b8b8522a828b1@i2pn2.org>,
dxf  <dxforth@gmail.com> wrote:
On 8/06/2025 9:51 pm, albert@spenarnc.xs4all.nl wrote:
In article <2025Jun8.095626@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
albert@spenarnc.xs4all.nl writes:
>
It is occasionally useful to have conversions to a string that
not immediately prints. Even figforth had a (D.R) that was a
D.R without the type.
>
It's not in the fig-Forth Installation Manual / Glossary / Model Release !
>
http://wiki.yak.net/1089/fig-FORTH_Manuals_May79.pdf
>
nor in the source code.
>
https://raw.githubusercontent.com/ForthHub/FIG-Forth/refs/heads/master/fig.fth
>
I should have known better.
https://home.hccnet.nl/a.w.m.van.der.horst/figdoc.zip
I remembered the way D. was reduced in the code to
D.R and confused the two mechanisms.
>
It's probably easier to justify (D.) than (D.R).  If one needs to right-justify
numbers, chances are one will need to right-justify non-numeric strings as well.
For this reason I have S.R in the kernel and (S.R) as a library function.
>
 
(D.) is a good addition to a kernel. In 2023 it was added to ciforth's kernel.
This honour is bestowed on less than half a dozen words since 2002 version 4.0.,
demonstrating that fig-forth was nearly perfect. Other words are NIP and $\ .

Tried to load LIT's Roman code into FigForth for CP/M only to find it used
non-Fig words NIP 2DROP TUCK 1- .  I also needed something akin to S" to pass
the numeric string to the routine.  All edits had to done externally as no
editor was present.  After fixing all that the routine still didn't work
properly.  It appears LIT's code relies on a non-symmetric DO LOOP - which is
not FigForth standard.  Let's just say I won't be returning to FigForth any
time soon.  Once in a decade is enough to remind me 'Never again' :)


Date Sujet#  Auteur
31 May 25 * THROW codes and ambiguous conditions39dxf
31 May 25 +* Re: THROW codes and ambiguous conditions7Anton Ertl
31 May 25 i+* Re: THROW codes and ambiguous conditions2dxf
3 Jun 25 ii`- Re: THROW codes and ambiguous conditions1sjack
31 May 25 i`* Re: THROW codes and ambiguous conditions4Anton Ertl
1 Jun 25 i `* Re: THROW codes and ambiguous conditions3albert
1 Jun 25 i  `* Re: THROW codes and ambiguous conditions2Anton Ertl
1 Jun 25 i   `- Re: THROW codes and ambiguous conditions1albert
1 Jun 25 `* Re: THROW codes and ambiguous conditions31Hans Bezemer
2 Jun 25  +- Re: THROW codes and ambiguous conditions1dxf
2 Jun 25  `* Re: THROW codes and ambiguous conditions29albert
3 Jun 25   `* Re: THROW codes and ambiguous conditions28dxf
3 Jun 25    +* Re: THROW codes and ambiguous conditions24Anton Ertl
4 Jun15:44    i`* Re: THROW codes and ambiguous conditions23dxf
4 Jun20:25    i `* Re: THROW codes and ambiguous conditions22sean
5 Jun07:09    i  +- Re: THROW codes and ambiguous conditions1dxf
5 Jun11:17    i  `* Re: THROW codes and ambiguous conditions20albert
6 Jun01:47    i   +- Re: THROW codes and ambiguous conditions1dxf
6 Jun07:15    i   `* Re: THROW codes and ambiguous conditions18sean
6 Jun12:00    i    `* Re: THROW codes and ambiguous conditions17albert
6 Jun22:06    i     `* Re: THROW codes and ambiguous conditions16sean
7 Jun04:10    i      `* Re: THROW codes and ambiguous conditions15dxf
7 Jun05:26    i       `* Re: THROW codes and ambiguous conditions14sean
7 Jun05:42    i        +- Re: THROW codes and ambiguous conditions1dxf
7 Jun10:43    i        +* Re: THROW codes and ambiguous conditions11Anton Ertl
7 Jun15:06    i        i`* Re: THROW codes and ambiguous conditions10dxf
7 Jun20:58    i        i `* Re: THROW codes and ambiguous conditions9Paul Rubin
8 Jun02:49    i        i  +* Re: THROW codes and ambiguous conditions3Paul Rubin
8 Jun04:36    i        i  i+- Re: THROW codes and ambiguous conditions1dxf
8 Jun09:07    i        i  i`- Re: THROW codes and ambiguous conditions1Anton Ertl
8 Jun03:16    i        i  +- Re: THROW codes and ambiguous conditions1dxf
8 Jun08:56    i        i  `* Re: THROW codes and ambiguous conditions4Anton Ertl
8 Jun15:45    i        i   `* Re: THROW codes and ambiguous conditions3dxf
9 Jun12:36    i        i    `* Re: THROW codes and ambiguous conditions2dxf
9 Jun13:24    i        i     `- Re: THROW codes and ambiguous conditions1LIT
7 Jun15:41    i        `- Re: THROW codes and ambiguous conditions1LIT
3 Jun 25    +- Re: THROW codes and ambiguous conditions1John
4 Jun 25    `* Re: THROW codes and ambiguous conditions2dxf
6 Jun11:47     `- Re: THROW codes and ambiguous conditions1Hans Bezemer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal