Sujet : Naming 'n' instances or repetitions
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 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.?