Deutsch   English   Français   Italiano  
<42213342fe71ecfb92ebd8e04d896550@www.novabbs.com>

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

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: zbigniew2011@gmail.com (LIT)
Newsgroups: comp.lang.forth
Subject: Re: Parsing =?UTF-8?B?dGltZXN0YW1wcz8=?=
Date: Tue, 10 Jun 2025 10:43:32 +0000
Organization: novaBBS
Message-ID: <42213342fe71ecfb92ebd8e04d896550@www.novabbs.com>
References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org> <7e21117d37c506cccd8e79323c416fd1@www.novabbs.com> <1021bsd$31o0d$1@dont-email.me> <1028t95$15jgs$1@dont-email.me> <7d72f30b842036aa0ecd68ad541dd88945b800f2@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="4090837"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="ovTHZ/VLht/KDF1nKqB7PmGhjiyfUdv/DKd8kGKFjRY";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: 8e58c9b6d1da98b6162b84d03d2307a6516add15
X-Rslight-Site: $2y$10$jrhBIRmzjfYJbszHdR1RxuLm..SGMQUZ03g22fJ.jpg8/ttRh6KXi

>> : SCAN-NUMBER-OR-SKIP ( n adr len -- n' adr' len')
>>   DUP >R
>>   0 0 2SWAP >NUMBER
>>   DUP R> =
>>   IF  2SWAP 2DROP  1 /STRING
>>   ELSE
>>     2>R D>S SWAP 60 * + 2R>
>>   THEN ;
>
> 0 0 2SWAP >NUMBER  invariably crops up so I have it in the kernel as
> (NUMBER).  2SWAP 2DROP  is another and becomes  2NIP.  Forth would
> have one define the same thing over and over.  Do it once and be done
> with it IMO.

So now you see: one can either use variable to
make the solution cleaner - or one can create new word(s).
Either way - some new names are added to the vocabulary.
Why the use of variable, instead of new words,
should be perceived of 'inferior'? Variable is a word too.

This reminds me somewhat that talk about 'using Lynx
browser in every condition no-matter-what'. Even, if
it makes me 'fighting the WWW' instead of just getting
required job done and switching to more pleasant things.

--