Deutsch   English   Français   Italiano  
<cb894082826b31faffc72b4933349929fc7ccc2c@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: Naming 'n' instances or repetitions
Date: Fri, 23 May 2025 14:14:47 +1000
Organization: i2pn2 (i2pn.org)
Message-ID: <cb894082826b31faffc72b4933349929fc7ccc2c@i2pn2.org>
References: <02c99c0785dce8043377d34b8ad339885e2d61d1@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 May 2025 04:14:47 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="1534166"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
In-Reply-To: <02c99c0785dce8043377d34b8ad339885e2d61d1@i2pn2.org>
X-Spam-Checker-Version: SpamAssassin 4.0.0
Content-Language: en-GB
Bytes: 1566
Lines: 19

On 22/05/2025 1:34 pm, dxf wrote:
> 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'.
> ...

While there was no comment/description for the above, there was one for H.0 :

  "H.0 Display u in hex in a right-justified field of n zeros."

So the '0' had nothing to do with count or instances but rather the fill character.
In that case I'll leave (H.N) NHOLD as they were.  OTOH one could have (H.#) #HOLD ...