Sujet : Re: Naming 'n' instances or repetitions
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 22. May 2025, 10:13:22
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <12019bd02eaf4190089e91af7ac3925f420214bd@i2pn2.org>
References : 1 2
User-Agent : Mozilla Thunderbird
On 22/05/2025 5:40 pm, Anton Ertl wrote:
dxf <dxforth@gmail.com> writes:
In DX-Forth I have:
>
NHOLD (H.N)
Maybe your NHOLD is the same as the standard HOLDS:
|6.2.1675 HOLDS CORE EXT ( c-addr u -- )
|
|Adds the string represented by c-addr u to the pictured numeric output
|string. An ambiguous condition exists if HOLDS executes outside of a
|<# #> delimited number conversion.
<https://forth-standard.org/standard/core/HOLDS>
I have ( adr len -- ) SHOLD for that. It came at the same time as:
( char +n -- ) NHOLD
( +n -- adr ) +HOLD \ factor for HOLD SHOLD NHOLD
The factor is headerless in DX-Forth as I couldn't think of any uses beyond
the three indicated. They were added mid 2014.