Naming 'n' instances or repetitions

Liste des GroupesRevenir à cl forth 
Sujet : Naming 'n' instances or repetitions
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forth
Date : 22. May 2025, 04:34:14
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <02c99c0785dce8043377d34b8ad339885e2d61d1@i2pn2.org>
User-Agent : Mozilla Thunderbird
I've noticed two ways of naming things 'done n times'.

In SwiftForth there is:

  (.0) (H.0)

which equate to executing '#' 'n' times.

It's not clear to me why '0' was used though '0' appears in forth naming
conventions meaning 'initialization'.

In VFX Forth (and perhaps others) there is:

  NDROP

where 'n' indicates number of executions.

In DX-Forth I have:

  NHOLD (H.N)

mainly because I couldn't think of anything else but willing to change
if there were a consensus.

Does anyone have knowledge on the matter or conventions etc.?

Date Sujet#  Auteur
22 May 25 * Naming 'n' instances or repetitions9dxf
22 May 25 +* Re: Naming 'n' instances or repetitions2Anton Ertl
22 May 25 i`- Re: Naming 'n' instances or repetitions1dxf
23 May 25 +- Re: Naming 'n' instances or repetitions1dxf
23 May 25 +* Re: Naming 'n' instances or repetitions2Hans Bezemer
24 May 25 i`- Re: Naming 'n' instances or repetitions1dxf
24 May 25 `* Re: Naming 'n' instances or repetitions3Ruvim
24 May 25  +- Re: Naming 'n' instances or repetitions1albert
25 May 25  `- Re: Naming 'n' instances or repetitions1dxf

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal